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.
http://www.securityfocus.com/bid/91696
http://www.openwall.com/lists/oss-security/2016/07/09/2
http://marc.info/?l=linux-kernel&m=146793642811929&w=2
https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca
https://bugzilla.redhat.com/show_bug.cgi?id=1354383
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca
Source: Mitre, NVD
Published: 2016-08-06
Updated: 2025-04-12
Base Score: 7.2
Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C
Severity: High
Base Score: 7.8
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.03362