Buffer overflow in Linux kernel - CVE-2011-2182
Published: June 13, 2012 / Updated: August 11, 2020
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
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
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
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cae13fe4cc3f24820ffb990c09110626837e85d4
- http://marc.info/?l=bugtraq&m=139447903326211&w=2
- http://www.openwall.com/lists/oss-security/2011/06/05/1
- http://www.securityfocus.com/bid/52334
- https://github.com/torvalds/linux/commit/cae13fe4cc3f24820ffb990c09110626837e85d4