CVE-2016-6187 Privilege escalation in n/a
Local attackers can gain privileges by exploiting a buffer size validation flaw in the Linux kernel's AppArmor setprocattr function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-6187?
CVE-2016-6187 is a high-severity vulnerability in Linux kernel, published on 6 Aug 2016. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2016-6187?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2016-6187?
Apply the vendor's patch.
Is CVE-2016-6187 being exploited?
There is no known exploitation of CVE-2016-6187 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry and 2 proofs of concept on GitHub.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2016-6187, GHSA-f2rr-m524-j23q.