CVE-2013-2851
kernel: block: passing disk names as format strings
Severity
LowRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · June 6, 2013
Updated · November 21, 2025
Description
Format string vulnerability in the register_disk function in block/genhd.c in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and writing format string specifiers to /sys/module/md_mod/parameters/new_array in order to create a crafted /dev/md device name.
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 6AV:L/AC:H/Au:S/C:C/I:C/A:C
CWE not specified