kernel: Stack corruption while reading /proc/keys when gcc stack protector is enabled
Published Oct 16, 2016
6.2
MEDIUMCVSS 3.0
EPSS 0.40%
Description
The proc_keys_show function in security/keys/proc.c in the Linux kernel through 4.8.2, when the GNU Compiler Collection (gcc) stack protector is enabled, uses an incorrect buffer size for certain timeout data, which allows local users to cause a denial of service (stack memory corruption and panic) by reading the /proc/keys file.
Affected products
No data.
- ≤ 4.8.2
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-696.el6
Fixed · RHSA-2017:0817
Red Hat Enterprise Linux 7
kernel-0:3.10.0-693.el7
Fixed · RHSA-2017:1842
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-693.rt56.617.el7
Fixed · RHSA-2017:2077
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rt
Fixed · RHSA-2017:2669
Red Hat Enterprise Linux 5
kernel
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-696.el6 | Fixed | RHSA-2017:0817 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-693.el7 | Fixed | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-693.rt56.617.el7 | Fixed | RHSA-2017:2077 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rt | Fixed | RHSA-2017:2669 |
| Red Hat Enterprise Linux 5 | kernel | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 6, 7 and Red Hat Enterprise MRG-2. Future Linux kernel updates for the respective releases might address this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
AV:L/AC:L/Au:N/C:N/I:N/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 (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.40% (0.00395) | 31.23th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.40% (0.00395) | 31.03th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.05% (0.00051) | 12.90th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.12% (0.00122) | 48.17th | v3 (v2023.03.01) |
| Jun 14, 2024 | 0.12% (0.00122) | 46.79th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.12% (0.00122) | 44.78th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Oct 19, 2022 | 1.18% (0.01183) | 60.79th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.18% (0.01183) | 35.15th | v2 (v2022.01.01) |
References (11)
- http://rhn.redhat.com/errata/RHSA-2017-0817.html vendor-advisoryx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2016/10/13/5 mailing-listx_refsource_MLISTMailing List
- http://www.securityfocus.com/bid/93544 vdb-entryx_refsource_BID
- https://access.redhat.com/errata/RHSA-2017:1842 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:2077 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:2669 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2016-7042 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1373966 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-7042
- https://source.android.com/security/bulletin/2017-01-01.html x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2016-7042
| Link | Providers | Tags |
|---|---|---|
| http://rhn.redhat.com/errata/RHSA-2017-0817.html | vendor-advisoryx_refsource_REDHAT | |
| http://www.openwall.com/lists/oss-security/2016/10/13/5 | mailing-listx_refsource_MLISTMailing List | |
| http://www.securityfocus.com/bid/93544 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/errata/RHSA-2017:1842 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/errata/RHSA-2017:2077 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/errata/RHSA-2017:2669 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2016-7042 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1373966 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-7042 | ||
| https://source.android.com/security/bulletin/2017-01-01.html | x_refsource_CONFIRM | |
| https://www.cve.org/CVERecord?id=CVE-2016-7042 |
Change history (0)
No recorded changes yet.