CVE-2016-5829 json
Multiple heap-based buffer overflows in the hiddev_ioctl_usage function in drivers/hid/usbhid/hiddev.c in the Linux kernel through 4.6.3 al…
published 2016-06-27 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6764
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
Multiple heap-based buffer overflows in the hiddev_ioctl_usage function in drivers/hid/usbhid/hiddev.c in the Linux kernel through 4.6.3 allow local users to cause a denial of service or possibly have unspecified other impact via a crafted (1) HIDIOCGUSAGES or (2) HIDIOCSUSAGES ioctl call.
Patch / fix
- linux linux_kernel 3.2.82, 3.10.103, 3.12.62, 3.14.74, 3.16.37, 3.18.37, 4.1.28, 4.4.16, 4.6.5
- linux Debian 14, Debian 13, Debian 12 4.6.3-1
debian advisories DEBIAN-CVE-2016-5829
- linux Ubuntu 14.04 LTS 3.13.0-95.142
- linux Ubuntu 16.04 LTS 4.4.0-36.55
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1021.27
- linux-lts-vivid Ubuntu 14.04 LTS 3.19.0-68.76~14.04.1
- linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-36.55~14.04.1
- linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1024.27
ubuntu advisories UBUNTU-CVE-2016-5829
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 7 3.10.0-514.el7
- perf RHEL 7 3.10.0-514.el7
- python-perf RHEL 7 3.10.0-514.el7
- kernel-kdump RHEL 7 3.10.0-514.el7
- kernel-tools RHEL 7 3.10.0-514.el7
- kernel-tools-libs RHEL 7 3.10.0-514.el7
- kernel-bootwrapper RHEL 7 3.10.0-514.el7
- kernel-abi-whitelists RHEL 7 3.10.0-514.el7
red hat advisories RHSA-2016:2574RHSA-2016:2584RHSA-2016:2006
- kernel-ec2 SLE Module for Public Cloud 12 3.12.61-52.66.1
- kernel-ec2 SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-pae SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.86.1
- kernel-xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-syms SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-trace SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
- kernel-bigsmp SLES 11 SP3-LTSS, OpenStack Cloud 5, Manager Proxy 2.1 +1 more 3.0.101-0.47.86.1
- kernel-source SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3, OpenStack Cloud 5 +2 more 3.0.101-0.47.86.1
suse advisories SUSE-SU-2017:0471-1SUSE-SU-2017:0333-1SUSE-SU-2016:2245-1SUSE-SU-2016:2181-1SUSE-SU-2016:2174-1SUSE-SU-2016:2179-1
- kernel-source openSUSE Tumbleweed 4.8.13-1.1
opensuse advisories openSUSE-SU-2024:10128-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-5829 updated cvss 7.8
kernel: Heap buffer overflow in hiddev driver
-
Red Hat Enterprise Linux 5 kernelaffected: no fix planned “Will not fix”
-
Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwareaffected: no fix available
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-514.el7, kernel 3.10.0-514.el7, python-perf 3.10.0-514.el7, kernel-tools 3.10.0-514.el7, kernel-tools-libs 3.10.0-514.el7, kernel-abi-whitelists 3.10.0-514.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-514.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-514.el7, kernel 3.10.0-514.el7, python-perf 3.10.0-514.el7, kernel-tools 3.10.0-514.el7, kernel-tools-libs 3.10.0-514.el7, kernel-abi-whitelists 3.10.0-514.el7, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-514.el7fixed: vendor fix RHSA-2016:2574
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-642.6.1.el6, kernel 2.6.32-642.6.1.el6, kernel-firmware 2.6.32-642.6.1.el6, kernel-abi-whitelists 2.6.32-642.6.1.el6, kernel-debuginfo-common-i686 2.6.32-642.6.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.6.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-642.6.1.el6, kernel-debuginfo-common-i686 2.6.32-642.6.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.6.1.el6fixed: vendor fix RHSA-2016:2006
-
Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-514.rt56.420.el7, kernel-rt-trace 3.10.0-514.rt56.420.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-514.rt56.420.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-514.rt56.420.el7, kernel-rt-kvm 3.10.0-514.rt56.420.el7, kernel-rt-trace 3.10.0-514.rt56.420.el7, kernel-rt-debug-kvm 3.10.0-514.rt56.420.el7, kernel-rt-trace-kvm 3.10.0-514.rt56.420.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-514.rt56.420.el7fixed: vendor fix RHSA-2016:2584
-
Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-642.6.1.el6, kernel 2.6.32-642.6.1.el6, kernel-firmware 2.6.32-642.6.1.el6, kernel-abi-whitelists 2.6.32-642.6.1.el6, kernel-debuginfo-common-i686 2.6.32-642.6.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.6.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-642.6.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.6.1.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-642.6.1.el6, kernel 2.6.32-642.6.1.el6, kernel-kdump 2.6.32-642.6.1.el6, kernel-firmware 2.6.32-642.6.1.el6, kernel-bootwrapper 2.6.32-642.6.1.el6, kernel-abi-whitelists 2.6.32-642.6.1.el6, +4 morefixed: vendor fix RHSA-2016:2006
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-514.el7, kernel 3.10.0-514.el7, python-perf 3.10.0-514.el7, kernel-kdump 3.10.0-514.el7, kernel-tools 3.10.0-514.el7, kernel-tools-libs 3.10.0-514.el7, +6 morefixed: vendor fix RHSA-2016:2574
-
Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-642.6.1.el6, kernel-debuginfo-common-i686 2.6.32-642.6.1.el6, kernel-debuginfo-common-ppc64 2.6.32-642.6.1.el6, kernel-debuginfo-common-s390x 2.6.32-642.6.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.6.1.el6fixed: vendor fix RHSA-2016:2006
show 5 moreshow fewer
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-514.el7, kernel-debuginfo-common-x86_64 3.10.0-514.el7, kernel-debuginfo-common-ppc64le 3.10.0-514.el7fixed: vendor fix RHSA-2016:2574
-
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-642.6.1.el6, kernel 2.6.32-642.6.1.el6, kernel-firmware 2.6.32-642.6.1.el6, kernel-abi-whitelists 2.6.32-642.6.1.el6, kernel-debuginfo-common-i686 2.6.32-642.6.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.6.1.el6fixed: vendor fix RHSA-2016:2006
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-514.el7, kernel 3.10.0-514.el7, python-perf 3.10.0-514.el7, kernel-tools 3.10.0-514.el7, kernel-tools-libs 3.10.0-514.el7, kernel-abi-whitelists 3.10.0-514.el7, +1 morefixed: vendor fix RHSA-2016:2574
-
Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-642.6.1.el6, kernel-debuginfo-common-i686 2.6.32-642.6.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.6.1.el6fixed: vendor fix RHSA-2016:2006
-
Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-514.el7fixed: vendor fix RHSA-2016:2574
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=93a2001bdfd5376c3dc2158653034c20392d15c5
vendor-advisory
-
github.com
/torvalds/linux/commit/93a2001bdfd5376c3dc2158653034c20392d15c5
vendor-advisory
-
ubuntu.com
/usn/USN-3070-1
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00053.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00007.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00055.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00048.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2584.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2574.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3070-3
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00027.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2006.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3070-2
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00054.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00051.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-3071-1
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3616
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00049.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-3070-4
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00050.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00052.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00044.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-3072-2
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3072-1
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3071-2
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
oracle.com
/technetwork/topics/security/linuxbulletinoct2016-3090545.html
third-party-advisory
-
securityfocus.com
/bid/91450
vdb-entry, third-party-advisory
-
oracle.com
/technetwork/topics/security/ovmbulletinoct2016-3090547.html
third-party-advisory
-
openwall.com
/lists/oss-security/2016/06/26/2
mailing-list, third-party-advisory
Sources
- CVE List CVE-2016-5829
- NVD CVE-2016-5829
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.