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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.7.8-1 | — |
| Debian 13 | linux | 4.7.8-1 | — |
| Debian 12 | linux | 4.7.8-1 | — |
| Debian 8 | linux | 3.16.36-1+deb8u2 | DSA-3696-1 |
| Debian 7 | linux | 3.2.82-1 | DLA-670-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux | 4.4.0-47.68 | USN-3128-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1038.45 | USN-3161-3 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1035.39 | USN-3128-3 |
| Ubuntu 14.04 LTS | linux | 3.13.0-101.148 | USN-3127-1 |
| Ubuntu 14.04 LTS | linux-lts-vivid | 3.19.0-74.82~14.04.1 | — |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-47.68~14.04.1 | USN-3128-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-693.rt56.617.el7 | RHSA-2017:2077 |
| RHEL 7 | perf +17 | 3.10.0-693.el7 | RHSA-2017:1842 |
| RHEL 6 | perf +16 | 2.6.32-696.el6 | RHSA-2017:0817 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.2.1.rt56.585.el6rt | RHSA-2017:2669 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | kernel-docs | 4.4.38-93.3 | SUSE-SU-2017:0181-1 |
| SLES 12 SP2 | kernel-syms +3 | 4.4.38-93.1 | SUSE-SU-2017:0181-1 |
| SLES 12 SP1 | kernel-docs | 3.12.67-60.64.18.3 | SUSE-SU-2016:2912-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.67-60.64.18.1 | SUSE-SU-2016:2912-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.66.1 | SUSE-SU-2017:0471-1, SUSE-SU-2016:2912-1 |
| SLES 12 | kgraft-patch-SLE12_Update_19 | 1-2.1 | SUSE-SU-2017:0471-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-88.3 | SUSE-SU-2016:2976-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-88.1 | SUSE-SU-2016:2976-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | kernel-ec2 +6 | 3.0.101-0.7.53.1 | SUSE-SU-2017:0333-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.38-93.1 | SUSE-SU-2017:0181-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.67-60.64.18.1 | SUSE-SU-2016:2912-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.61-52.66.1 | SUSE-SU-2017:0471-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_19 | 1-2.1 | SUSE-SU-2017:0471-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-88.1 | SUSE-SU-2016:2976-1 |
| SLE Real Time 12 SP1 | kernel-rt +5 | 3.12.67-60.27.1 | SUSE-SU-2016:3304-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-68.1 | SUSE-SU-2017:1102-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_9 | 1-6.3 | SUSE-SU-2016:2912-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_4 | 1-2.1 | SUSE-SU-2017:0181-1 |
| SUSE OpenStack Cloud 5 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
| SUSE Manager Proxy 2.1 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
| SUSE Manager 2.1 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kernel-source | 4.8.13-1.1 | openSUSE-SU-2024:10128-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.16.2.el6uek | 0.4.5-3.el6 | ELSA-2017-3509 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.16.2.el7uek | 0.4.5-3.el7 | ELSA-2017-3509 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.25.el6uek | 0.5.3-2.el6 | ELSA-2017-3508 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.25.el7uek | 0.5.3-2.el7 | ELSA-2017-3508 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.16.2.el7uek | ELSA-2017-3509, ELSA-2017-3508 |
| Oracle Linux 7 | perf +11 | 3.10.0-693.el7 | ELSA-2017-1842 |
Advisories 23
- RHSA-2017:2669 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2077 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:1842 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:0817 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3128-1 linux vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3127-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-670-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3696-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3161-3 linux-raspi2 vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3128-2 linux-lts-xenial vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3128-3 linux-snapdragon vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2016:2976-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1102-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0494-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10128-1 kernel-debug-4.8.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0471-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0333-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2912-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3304-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0181-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2017-1842 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 7, 2017
- ELSA-2017-3509 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 12, 2017
- ELSA-2017-3508 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 12, 2017
References
- https://source.android.com/security/bulletin/2017-01-01.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1373966
- [oss-security] 20161013 kernel: Stack corruption while reading /proc/keys (CVE-2016-7042) mailing-list
- RHSA-2017:2669 vendor-advisory
- RHSA-2017:0817 vendor-advisory
- RHSA-2017:2077 vendor-advisory
- RHSA-2017:1842 vendor-advisory
- 93544 vdb-entry