7.8
CWE
119
Advisory Published
Updated

CVE-2016-5829: Buffer Overflow

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 SoftwareAffected VersionHow 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
6.1.106-3
6.1.99-1
6.10.9-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2016-5829?

    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.

  • How severe is CVE-2016-5829?

    CVE-2016-5829 is classified as a medium severity vulnerability.

  • Which software versions are affected by CVE-2016-5829?

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

  • How can I fix CVE-2016-5829?

    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.

  • Where can I find more information about CVE-2016-5829?

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

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203