Buffer overflow in Linux Kernel

CVE-2016-7042

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.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (32.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2016-7042?
CVE-2016-7042 is a medium-severity vulnerability in Linux Kernel, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 6.2/10. Published 2016-10-16.
How severe is CVE-2016-7042?
Medium severity. CVSS v3 base score is 6.2 out of 10.
Is CVE-2016-7042 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.