First published: Mon Jun 27 2016(Updated: )
A vulnerabilty was found in the Linux kernels hiddev driver. An attacker with permissions to the USB HID device can call an ioctl with the HIDIOCGUSAGES or HIDIOCSUSAGES command, and passes a report id of HID_REPORT_ID_UNKNOWN range checks that would prevent oversize buffers being copied from userspace to kernel space were bypassed. The kernel would loop on a a value passed by userspace and can copy memory outside of the intended range. This can corrupt memory located after the struct in memory, duplicating the kernel memory or crashing the system Upstream patch: <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=93a2001bdfd5376c3dc2158653034c20392d15c5">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=93a2001bdfd5376c3dc2158653034c20392d15c5</a>
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Debian Debian Linux | =8.0 | |
Linux Linux kernel | <3.2.82 | |
Linux Linux kernel | >=3.3<3.10.103 | |
Linux Linux kernel | >=3.11<3.12.62 | |
Linux Linux kernel | >=3.13<3.14.74 | |
Linux Linux kernel | >=3.15<3.16.37 | |
Linux Linux kernel | >=3.17<3.18.37 | |
Linux Linux kernel | >=3.19<4.1.28 | |
Linux Linux kernel | >=4.2<4.4.16 | |
Linux Linux kernel | >=4.5<4.6.5 | |
Novell Suse Linux Enterprise Real Time Extension | =12-sp1 | |
Canonical Ubuntu Linux | =12.04 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =16.04 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.115-1 6.1.119-1 6.11.10-1 6.12.5-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-5829 is a vulnerability in the Linux kernel that allows local users to cause a denial of service or possibly have other unspecified impact via a crafted HIDIOCGUSAGES or HIDIOCSUSAGES ioctl call.
CVE-2016-5829 is classified as a medium severity vulnerability.
CVE-2016-5829 affects various versions of the Linux kernel: 3.2.0-109.150, 3.13.0-95.142, 4.4.0-36.55, and 4.7~ (upstream).
To fix CVE-2016-5829, update your Linux kernel to version 3.2.0-109.150, 3.13.0-95.142, 4.4.0-36.55, or a later version.
You can find more information about CVE-2016-5829 at the following references: [link1](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=93a2001bdfd5376c3dc2158653034c20392d15c5), [link2](http://seclists.org/oss-sec/2016/q2/609), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1350513).