CVE-2016-6187
kernel: apparmor: Potential privilege escalation via oops in apparmor_setprocattr()
Severity
ImportantRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · July 8, 2016
Updated · November 21, 2025
Description
A vulnerability leading to a local privilege escalation was found in apparmor in the Linux kernel. When proc_pid_attr_write() was changed to use memdup_user apparmor's (interface violating) assumption that the setprocattr buffer was always a single page was violated.
Statement
Red Hat Enterprise Linux is not affected by this flaw as CONFIG_SECURITY_APPARMOR is not enabled in any current shipping kernels.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 · 6.9AV:L/AC:M/Au:N/C:C/I:C/A:C
CWE-131 · Incorrect Calculation of Buffer Size