Information disclosure in Linux kernel - CVE-2012-6540
Published: March 15, 2013 / Updated: August 11, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
The do_ip_vs_get_ctl function in net/netfilter/ipvs/ip_vs_ctl.c in the Linux kernel before 3.6 does not initialize a certain structure for IP_VS_SO_GET_TIMEOUT commands, which allows local users to obtain sensitive information from kernel stack memory via a crafted application.
Affected software
Ubuntu
linux (Ubuntu package)
linux-image-2.6.32-351-ec2 (Ubuntu package)
linux-lts-backport-oneiric (Ubuntu package)
How to mitigate CVE-2012-6540
linux-image-2.6.32-351-ec2 (Ubuntu package) - update to 2.6.32-351.63
linux-lts-backport-oneiric (Ubuntu package) - update to 3.0.0-28.45~lucid1
External References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2d8a041b7bfe1097af21441cb77d6af95f4f4680
- http://www.openwall.com/lists/oss-security/2013/03/05/13
- http://www.ubuntu.com/usn/USN-1792-1
- http://www.ubuntu.com/usn/USN-1798-1
- https://github.com/torvalds/linux/commit/2d8a041b7bfe1097af21441cb77d6af95f4f4680
- https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.6.bz2