Input validation error in Linux kernel - CVE-2016-8650

 

Input validation error in Linux kernel - CVE-2016-8650

Published: November 28, 2016 / Updated: June 20, 2018


Vulnerability identifier: #VU28376
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-8650
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local authenticated user to perform a denial of service (DoS) attack.

The mpi_powm function in lib/mpi/mpi-pow.c in the Linux kernel through 4.8.11 does not ensure that memory is allocated for limb data, which allows local users to cause a denial of service (stack memory corruption and panic) via an add_key system call for an RSA key with a zero exponent.


Affected software

Linux kernel
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server for ARM
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - Extended Update Support
Fedora
MRG Realtime
Red Hat Virtualization Host
kernel-rt (Red Hat package)
kernel (Red Hat package)
kernel

How to mitigate CVE-2016-8650

Install update from vendor's website.

Linux kernel - update to 4.8.12
kernel-rt (Red Hat package) - addressed in versions 3.10.0-514.rt56.219.el6rt, 3.10.0-514.16.1.rt56.437.el7
kernel (Red Hat package) - update to 3.10.0-514.16.1.el7
kernel - addressed in versions 4.8.11-100.fc23, 4.8.11-200.fc24, 4.8.11-300.fc25

External References

Related Security Bulletins