{"id":"CVE-2016-6187","state":"PUBLISHED","title":"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 trig","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.","publishedAt":"2016-08-06T20:00:00.000Z","updatedAt":"2024-08-06T01:22:20.649Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca","http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca","http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5","http://www.openwall.com/lists/oss-security/2016/07/09/2","http://marc.info/?l=linux-kernel&m=146793642811929&w=2","https://bugzilla.redhat.com/show_bug.cgi?id=1354383","http://www.securityfocus.com/bid/91696"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:50.421Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/6xxx/CVE-2016-6187.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-6187","state":"PUBLISHED","datePublished":"2016-08-06T20:00:00.000Z","dateUpdated":"2024-08-06T01:22:20.649Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-07-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca","tags":["x_refsource_CONFIRM"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca","tags":["x_refsource_CONFIRM"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/07/09/2","name":"[oss-security] 20160709 Re: CVE request: apparmor: oops in apparmor_setprocattr()","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://marc.info/?l=linux-kernel&m=146793642811929&w=2","name":"[linux-kernel] 20160708 [GIT PULL] Fix for AppArmor oops in apparmor_setprocattr()","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1354383","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/91696","name":"91696","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2016-11-25T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-07-08T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-6187","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca","refsource":"CONFIRM","url":"https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca","refsource":"CONFIRM","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca"},{"name":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5","refsource":"CONFIRM","url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5"},{"name":"[oss-security] 20160709 Re: CVE request: apparmor: oops in apparmor_setprocattr()","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/07/09/2"},{"name":"[linux-kernel] 20160708 [GIT PULL] Fix for AppArmor oops in apparmor_setprocattr()","refsource":"MLIST","url":"http://marc.info/?l=linux-kernel&m=146793642811929&w=2"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1354383","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1354383"},{"name":"91696","refsource":"BID","url":"http://www.securityfocus.com/bid/91696"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/07/09/2","name":"[oss-security] 20160709 Re: CVE request: apparmor: oops in apparmor_setprocattr()","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://marc.info/?l=linux-kernel&m=146793642811929&w=2","name":"[linux-kernel] 20160708 [GIT PULL] Fix for AppArmor oops in apparmor_setprocattr()","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1354383","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/91696","name":"91696","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T01:22:20.649Z"}}]}}}