Vulnerabilities · 2016 · Linux
CVE-2016-6187
Linux Kernel vulnerability
The apparmor_setprocattr function in security/apparmor/lsm.c in the Linux kernel before 4.6.5 does not validate the buffer size, which allows local users to gain privileges by triggering an AppArmor setprocattr hook.
Affected products
Linux Kernel. 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
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43 · Patch
- github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca · Patch
- marc.info/?l=linux-kernel&m=146793642811929&w=2 · Third Party Advisory
- www.openwall.com/lists/oss-security/2016/07/09/2 · Third Party Advisory
- www.securityfocus.com/bid/91696 · Third Party Advisory
- www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5
- bugzilla.redhat.com/show_bug.cgi?id=1354383
- nvd.nist.gov/vuln/detail/CVE-2016-6187
- cve.org/CVERecord?id=CVE-2016-6187
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.