CVE-2013-2851: Medium severity Linux Linux kernel vulnerability

Published May 31, 2013
·
Updated

A flaw was found in the way certain disk names were interpreted by the Linux kernel.

Block layer uses the "diskname" 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.

Other sources

Format string vulnerability in the registerdisk 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/mdmod/parameters/newarray in order to create a crafted /dev/md device name.

Launchpad

Affected Software

13 affected componentsFixes available
Linux Linux kernel<=3.9.4
Linux Linux kernel=3.9-rc1
Linux Linux kernel=3.9-rc2
Linux Linux kernel=3.9-rc3
Linux Linux kernel=3.9-rc4
Linux Linux kernel=3.9-rc5
Linux Linux kernel=3.9-rc6
Linux Linux kernel=3.9-rc7
Linux Linux kernel=3.9.0
Linux Linux kernel=3.9.1
Linux Linux kernel=3.9.2
Linux Linux kernel=3.9.3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Event History

May 31, 2013
Data Sourced
via Red Hat·04:13 PM
DescriptionSeverityAffected Software
Jun 7, 2013
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:01 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·12:57 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-2851?

CVE-2013-2851 has a medium severity rating due to its potential to cause local denial of service.

2

How do I fix CVE-2013-2851?

To fix CVE-2013-2851, upgrade to a Linux kernel version above 3.9.4 or apply appropriate security patches.

3

Which versions of the Linux kernel are affected by CVE-2013-2851?

CVE-2013-2851 affects Linux kernel versions up to 3.9.4, including various release candidates of version 3.9.

4

What kind of attack can be executed due to CVE-2013-2851?

CVE-2013-2851 could allow an attacker to exploit improper disk name handling resulting in a denial of service.

5

Who should be concerned about CVE-2013-2851?

System administrators using affected versions of the Linux kernel should prioritize patching against CVE-2013-2851.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203