kernel: block: passing disk names as format strings
Published Jun 7, 2013
6.0
MEDIUMCVSS 2.0
EPSS 0.34%
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.
Affected products
No data.
- ≤ 3.9.4
- 3.9
- 3.9
- 3.9
- 3.9
- 3.9
- 3.9
- 3.9
- 3.9.0
- 3.9.1
- 3.9.2
- 3.9.3
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-431.el6
Fixed · RHSA-2013:1645
Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only
kernel-0:2.6.32-279.39.1.el6
Fixed · RHSA-2013:1783
Red Hat Enterprise Linux 6.4 Extended Update Support
kernel-0:2.6.32-358.37.1.el6
Fixed · RHSA-2014:0284
Red Hat Enterprise MRG 2
kernel-rt-0:3.6.11.5-rt37.55.el6rt
Fixed · RHSA-2013:1264
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-431.el6 | Fixed | RHSA-2013:1645 |
| Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only | kernel-0:2.6.32-279.39.1.el6 | Fixed | RHSA-2013:1783 |
| Red Hat Enterprise Linux 6.4 Extended Update Support | kernel-0:2.6.32-358.37.1.el6 | Fixed | RHSA-2014:0284 |
| Red Hat Enterprise MRG 2 | kernel-rt-0:3.6.11.5-rt37.55.el6rt | Fixed | RHSA-2013:1264 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:H/Au:S/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.34% (0.00340) | 25.16th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.34% (0.00340) | 25.61th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.08% (0.00083) | 21.91th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00067) | 31.57th | v3 (v2023.03.01) |
| Jun 12, 2024 | 0.07% (0.00067) | 29.38th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00067) | 27.37th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
References (17)
- http://lists.opensuse.org/opensuse-security-announce/2013-09/msg00003.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2013-09/msg00004.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00129.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=linux-kernel&m=137055204522556&w=2 mailing-listx_refsource_MLIST
- http://rhn.redhat.com/errata/RHSA-2013-1645.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1783.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2014-0284.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2013/dsa-2766 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2013/06/06/13 mailing-listx_refsource_MLIST
- http://www.ubuntu.com/usn/USN-1912-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1913-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1941-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1942-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2013-2851 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=969515 x_refsource_CONFIRMIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-2851
- https://www.cve.org/CVERecord?id=CVE-2013-2851
Change history (0)
No recorded changes yet.