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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.004, 34.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (thdusdl1219/CVE-Study). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- source.android.com/security/bulletin/2017-01-01.html
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- [oss-security] 20161013 kernel: Stack corruption while reading /proc/keys (CVE-2016-7042) (mailing-list, Mailing List)
- RHSA-2017:2669 (vendor-advisory)
- RHSA-2017:0817 (vendor-advisory)
- RHSA-2017:2077 (vendor-advisory)
- RHSA-2017:1842 (vendor-advisory)
- www.securityfocus.com/bid/93544 (vdb-entry)