Heap-based buffer overflow in Linux kernel - CVE-2016-5829
Published: October 1, 2016 / Updated: April 16, 2018
Vulnerability identifier: #VU4080
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-5829
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local attacker to cause DoS condition or gain elevated privileges on the target system.
The weakness exists in the hiddev_ioctl_usage function in drivers/hid/usbhid/hiddev.c due to heap-based buffer overflow. A local attacker can cause the service to crash or gain elevated privileges via a crafted (1) HIDIOCGUSAGES or (2) HIDIOCSUSAGES ioctl call.
The weakness exists in the hiddev_ioctl_usage function in drivers/hid/usbhid/hiddev.c due to heap-based buffer overflow. A local attacker can cause the service to crash or gain elevated privileges via a crafted (1) HIDIOCGUSAGES or (2) HIDIOCSUSAGES ioctl call.
Affected software
Linux kernel
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
SUSE Linux
Ubuntu
Fedora
kernel (Red Hat package)
linux (Ubuntu package)
kernel
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
SUSE Linux
Ubuntu
Fedora
kernel (Red Hat package)
linux (Ubuntu package)
kernel
How to mitigate CVE-2016-5829
Update to version 4.6.3.
kernel (Red Hat package) - update to 2.6.32-642.6.1.el6
linux (Ubuntu package) - update to 3.2.0-109.150
kernel - addressed in versions 4.5.7-202.fc23, 4.6.4-301.fc24
linux (Ubuntu package) - update to 3.2.0-109.150
kernel - addressed in versions 4.5.7-202.fc23, 4.6.4-301.fc24
External References
Related Security Bulletins
- SUSE Linux update for Linux Kernel Live Patch 1 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 4 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 2 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 3 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 5 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 6 for SLE 12 SP1
- SUSE Linux update for Linux Kernel Live Patch 0 for SLE 12 SP1
- SUSE Linux update for the Linux Kernel
- Red Hat update for kernel
- Fedora 23 update for kernel
- Fedora 24 update for kernel
- Ubuntu update for linux