Stack-based Buffer Overflow Affecting kernel-abi-whitelists package, versions <0:3.10.0-693.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-KERNELABIWHITELISTS-5157550
  • published26 Jul 2021
  • disclosed13 Oct 2016

Introduced: 13 Oct 2016

CVE-2016-7042  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:7 kernel-abi-whitelists to version 0:3.10.0-693.el7 or higher.
This issue was patched in RHSA-2017:1842.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-abi-whitelists package and not the kernel-abi-whitelists package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.