kernel: apparmor: Potential privilege escalation via oops in apparmor_setprocattr()
Published Aug 6, 2016
7.8
HIGHCVSS 3.1
EPSS 2.40%
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.
Affected products
No data.
- ≥ 4.5 · < 4.6.5
No data.
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise MRG 2
realtime-kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux is not affected by this flaw as CONFIG_SECURITY_APPARMOR is not enabled in any current shipping kernels.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.40% (0.02397) | 83.41th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.40% (0.02397) | 81.79th | v5 (v2026.06.15) |
| May 20, 2026 | 6.08% (0.06081) | 90.86th | v4 (v2025.03.14) |
| Mar 7, 2026 | 7.83% (0.07831) | 91.84th | v4 (v2025.03.14) |
| Jan 19, 2026 | 6.04% (0.06037) | 90.44th | v4 (v2025.03.14) |
| Nov 8, 2025 | 3.52% (0.03522) | 87.14th | v4 (v2025.03.14) |
| Oct 12, 2025 | 4.58% (0.04583) | 88.67th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.97% (0.02967) | 85.59th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 15.06th | v3 (v2023.03.01) |
| May 27, 2024 | 0.04% (0.00044) | 12.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 10.75th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.11% (0.02115) | 80.01th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.11% (0.02115) | 78.09th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.11% (0.02115) | 56.78th | v2 (v2022.01.01) |
References (10)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca x_refsource_CONFIRMIssue TrackingPatch
- http://marc.info/?l=linux-kernel&m=146793642811929&w=2 mailing-listx_refsource_MLISTThird Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5 x_refsource_CONFIRMRelease Notes
- http://www.openwall.com/lists/oss-security/2016/07/09/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/91696 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-6187 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1354383 x_refsource_CONFIRMIssue Tracking
- https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca x_refsource_CONFIRMIssue TrackingPatch
- https://nvd.nist.gov/vuln/detail/CVE-2016-6187
- https://www.cve.org/CVERecord?id=CVE-2016-6187
| Link | Providers | Tags |
|---|---|---|
| http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca | x_refsource_CONFIRMIssue TrackingPatch | |
| http://marc.info/?l=linux-kernel&m=146793642811929&w=2 | mailing-listx_refsource_MLISTThird Party Advisory | |
| http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5 | x_refsource_CONFIRMRelease Notes | |
| http://www.openwall.com/lists/oss-security/2016/07/09/2 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| http://www.securityfocus.com/bid/91696 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2016-6187 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1354383 | x_refsource_CONFIRMIssue Tracking | |
| https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca | x_refsource_CONFIRMIssue TrackingPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-6187 | ||
| https://www.cve.org/CVERecord?id=CVE-2016-6187 |
Change history (0)
No recorded changes yet.