Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.5, < 4.6.5 |
Related Weaknesses (CWE)
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46aIssue TrackingPatch
- http://marc.info/?l=linux-kernel&m=146793642811929&w=2Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5Release Notes
- http://www.openwall.com/lists/oss-security/2016/07/09/2Mailing ListThird Party Advisory
- http://www.securityfocus.com/bid/91696Third Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1354383Issue Tracking
- https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096cIssue TrackingPatch
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46aIssue TrackingPatch
- http://marc.info/?l=linux-kernel&m=146793642811929&w=2Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5Release Notes
- http://www.openwall.com/lists/oss-security/2016/07/09/2Mailing ListThird Party Advisory
- http://www.securityfocus.com/bid/91696Third Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1354383Issue Tracking
- https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096cIssue TrackingPatch
FAQ
What is CVE-2016-6187?
CVE-2016-6187 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 s...
How severe is CVE-2016-6187?
CVE-2016-6187 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2016-6187?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.