Bug 969515 - (CVE-2013-2851) CVE-2013-2851 kernel: block: passing disk names as format strings
CVE-2013-2851 kernel: block: passing disk names as format strings
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20130606,reported=2...
: Security
Depends On: 971371 971372 971373 971374 971662 998408 998409
Blocks: 969516
  Show dependency treegraph
 
Reported: 2013-05-31 12:13 EDT by Petr Matousek
Modified: 2015-08-19 05:21 EDT (History)
18 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-24 12:59:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2013-05-31 12:13:48 EDT
A flaw was found in the way certain disk names were interpreted by the Linux kernel. 

Block layer uses the "disk_name" field as a format string in a number of places. While this is normally not a problem due to how disk names are created (statically or incrementally), there is currently at least one way to define nearly arbitrary names via md.

A privileged (uid 0) local user could potentially use this flaw to execute code at ring0.

Acknowledgements:

Red Hat would like to thank Kees Cook for reporting this issue.
Comment 3 Petr Matousek 2013-06-06 07:24:21 EDT
Statement:

This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5.

This issue does affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 6, and Red Hat Enterprise MRG. Future updates for Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG may address this issue.
Comment 6 Petr Matousek 2013-06-07 02:04:20 EDT
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 971662]
Comment 8 Fedora Update System 2013-06-13 02:03:59 EDT
kernel-3.9.5-201.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2013-06-14 00:51:47 EDT
kernel-3.9.5-301.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2013-06-30 21:33:41 EDT
kernel-3.9.8-100.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 errata-xmlrpc 2013-09-16 13:05:24 EDT
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:1264 https://rhn.redhat.com/errata/RHSA-2013-1264.html
Comment 13 errata-xmlrpc 2013-11-21 13:50:19 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:1645 https://rhn.redhat.com/errata/RHSA-2013-1645.html
Comment 14 errata-xmlrpc 2013-12-05 12:09:51 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only

Via RHSA-2013:1783 https://rhn.redhat.com/errata/RHSA-2013-1783.html
Comment 15 errata-xmlrpc 2014-03-11 13:07:32 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.4 EUS - Server and Compute Node Only

Via RHSA-2014:0284 https://rhn.redhat.com/errata/RHSA-2014-0284.html

Note You need to log in before you can comment on or make changes to this bug.