Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | linux-2.6 | 2.6.26-26lenny3 | DSA-2264-1 |
Advisories 1
- DSA-2264-1 linux-2.6 - several issues Debian Security (DSA / DLA) · Mar 9, 2026
References
- 52334 vdb-entry
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=cae13fe4cc3f24820ffb990c09110626837e85d4
- https://github.com/torvalds/linux/commit/cae13fe4cc3f24820ffb990c09110626837e85d4
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
- [oss-security] 20110605 Re: CVE request: kernel: fs/partitions: Kernel heap overflow via corrupted LDM partition tables mailing-list
- HPSBGN02970 vendor-advisory