Buffer overflow in Linux kernel - CVE-2011-2182

 

Buffer overflow in Linux kernel - CVE-2011-2182

Published: June 13, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43993
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-2182
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The ldm_frag_add function in fs/partitions/ldm.c in the Linux kernel before 2.6.39.1 does not properly handle memory allocation for non-initial fragments, which might allow local users to conduct buffer overflow attacks, and gain privileges or obtain sensitive information, via a crafted LDM partition table. NOTE: this vulnerability exists because of an incomplete fix for CVE-2011-1017.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-image-2.6.32-318-ec2 (Ubuntu package)
linux-lts-backport-maverick (Ubuntu package)
linux-lts-backport-natty (Ubuntu package)

How to mitigate CVE-2011-2182

Install update from vendor's website.

linux (Ubuntu package) - addressed in versions 2.6.24-31.99, 2.6.32-34.77, 2.6.35-32.64, 2.6.38-11.48
linux-image-2.6.32-318-ec2 (Ubuntu package) - update to 2.6.32-318.38
linux-lts-backport-maverick (Ubuntu package) - update to 2.6.35-32.64~lucid1
linux-lts-backport-natty (Ubuntu package) - update to 2.6.38-12.51~lucid1

External References

Related Security Bulletins