#VU4080 Heap-based buffer overflow in Linux kernel - CVE-2016-5829


| Updated: 2018-04-16

Vulnerability identifier: #VU4080

Vulnerability risk: Low

CVSSv4.0: 5.9 [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/E:U/U:Clear]

CVE-ID: CVE-2016-5829

CWE-ID: CWE-122

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Linux kernel
Operating systems & Components / Operating system

Vendor: Linux Foundation

Description
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.

Mitigation
Update to version 4.6.3.

Vulnerable software versions

Linux kernel: 4.6.0 - 4.6.2


External links
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=93a2001bdfd5376c3dc2158653034c20392d15c5


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability