Vulnerabilities · 2012 · Linux
CVE-2012-6538
Linux Kernel vulnerability
The copy_to_user_auth function in net/xfrm/xfrm_user.c in the Linux kernel before 3.6 uses an incorrect C library function for copying a string, which allows local users to obtain sensitive information from kernel heap memory by leveraging the CAP_NET_ADMIN capability.
Affected products
Linux Kernel, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.kernel.org/pub/linux/kernel/v3.x/patch-3.6.bz2 · Patch
- git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=4c87308bdea31a7b4
- rhn.redhat.com/errata/RHSA-2013-0744.html
- www.openwall.com/lists/oss-security/2013/03/05/13
- github.com/torvalds/linux/commit/4c87308bdea31a7b4828a51f6156e6f721a1fcc9
- nvd.nist.gov/vuln/detail/CVE-2012-6538
- cve.org/CVERecord?id=CVE-2012-6538
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.