{"id":"CVE-2016-6187","details":"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.","modified":"2026-03-14T09:20:21.694499Z","published":"2016-08-06T20:59:10.800Z","related":["openSUSE-SU-2024:10128-1"],"references":[{"type":"ADVISORY","url":"http://marc.info/?l=linux-kernel&m=146793642811929&w=2"},{"type":"ADVISORY","url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/07/09/2"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/91696"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1354383"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca"},{"type":"FIX","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6187.json","unresolved_ranges":[{"events":[{"introduced":"4.5"},{"fixed":"4.6.5"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}