CVE-2016-7042
Reported by mitre · Published October 16, 2016
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 4.8.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Oct 16, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (32 in total, the first dated here)
- Mar 5, 2026 Security Advisory (14 in total, the first dated here)
- Oct 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-7042
vulnetix vdb fixes CVE-2016-7042
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-7042/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [oss-security] 20161013 kernel: Stack corruption while reading /proc/keys (CVE-2016-7042) mailing-listx_refsource_MLIST
- RHSA-2017:2669 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0817 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2077 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1842 vendor-advisoryx_refsource_REDHAT
- 93544 vdb-entryx_refsource_BID