Buffer Overflow Vulnerability in proc_keys_show Function

Buffer Overflow Vulnerability in proc_keys_show Function

CVE-2016-7042 · MEDIUM Severity

AV:L/AC:L/AU:N/C:N/I:N/A:C

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.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.