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.
https://github.com/torvalds/linux/commit/cae13fe4cc3f24820ffb990c09110626837e85d4
http://www.securityfocus.com/bid/52334
http://www.openwall.com/lists/oss-security/2011/06/05/1
http://marc.info/?l=bugtraq&m=139447903326211&w=2
http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1