CVE-2026-23178
published high CVSS 3.1 · 7.8HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < f9c9ad89d845f88a1509e9d672f65d234425fde9 · 85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < cff3f619fd1cb40cdd89971df9001f075613d219 · 85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < 786ec171788bdf9dda38789163f1b1fbb47f2d1e · 85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < 2124279f1f8c32c1646ce98e75a1a39b23b7db76 · 85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < 2497ff38c530b1af0df5130ca9f5ab22c5e92f29 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.163 through 6.1.* (unaffected · semver) · 6.6.124 through 6.6.* (unaffected · semver) · 6.12.70 through 6.12.* (unaffected · semver) · 6.18.10 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.164-1 | DSA-6163-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.164-1~deb11u1 | DLA-4499-1 |
| Debian | trixie | linux | Advisory build | 6.12.73-1 | DSA-6141-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-201.74.2.1.el10uek | ELSA-2026-50232 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report() `i2c_hid_xfer` is used to read `recv_len + sizeof(__le16)` bytes of data into `ihid->rawbuf`. The former can come from the userspace in the hidraw driver and is only bounded by HID_MAX_BUFFER_SIZE(16384) by default (unless we also set `max_buffer_size` field of `struct hid_ll_driver` which we do not). The latter has size determined at runtime by the maximum size of different report types you could receive on any particular device and can be a much smaller value. Fix this by truncating `recv_len` to `ihid->bufsize - sizeof(__le16)`. The impact is low since access to hidraw devices requires root.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is triggered through the hidraw ioctl interface (/dev/hidrawN), requiring local system access to open the device file and issue an ioctl. I2C-HID devices are locally attached hardware (touchpads, touchscreens). AC:L - The attacker simply opens a hidraw device and issues a HIDIOCGFEATURE/HIDIOCGINPUT ioctl with a large size parameter. No race condition, special memory layout, or non-default configuration is needed to trigger the overflow. PR:L - While hidraw devices default to 0600 root:root, on desktop Linux systems with systemd/logind, udev uaccess rules grant some hidraw device access to the physically logged-in user without root privileges. On shared workstations or kiosks, a non-root user could trigger this. UI:N - No user interaction is required. The attacker opens the hidraw device file and issues the ioctl directly. S:U - The vulnerability is in the kernel and the impact (heap corruption) affects the kernel itself. No security boundary crossing (like VM escape) occurs. C:H - This is a heap buffer overflow of up to ~16KB past the allocated buffer. Heap corruption of this magnitude can be leveraged to read adjacent kernel heap objects, potentially disclosing sensitive kernel memory. I:H - The out-of-bounds write corrupts adjacent kernel heap objects. While the overflow content comes from the I2C device rather than being directly attacker-controlled, a 16KB heap overflow can corrupt critical kernel data structures, potentially enabling code execution through heap grooming techniques. A:H - A heap buffer overflow of up to ~16KB will corrupt adjacent kernel heap objects, reliably causing kernel crashes (oops/panic) from corrupted metadata or invalid pointer dereferences.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < f9c9ad89d845f88a1509e9d672f65d234425fde9 (affected · git)85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < cff3f619fd1cb40cdd89971df9001f075613d219 (affected · git)85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < 786ec171788bdf9dda38789163f1b1fbb47f2d1e (affected · git)85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < 2124279f1f8c32c1646ce98e75a1a39b23b7db76 (affected · git)85df713377ddc0482071c3e6b64c37bd1e48f1f1 to < 2497ff38c530b1af0df5130ca9f5ab22c5e92f29 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.163 through 6.1.* (unaffected · semver)6.6.124 through 6.6.* (unaffected · semver)6.12.70 through 6.12.* (unaffected · semver)6.18.10 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
5- https://git.kernel.org/stable/c/2124279f1f8c32c1646ce98e75a1a39b23b7db76
- https://git.kernel.org/stable/c/2497ff38c530b1af0df5130ca9f5ab22c5e92f29
- https://git.kernel.org/stable/c/786ec171788bdf9dda38789163f1b1fbb47f2d1e
- https://git.kernel.org/stable/c/cff3f619fd1cb40cdd89971df9001f075613d219
- https://git.kernel.org/stable/c/f9c9ad89d845f88a1509e9d672f65d234425fde9
Provider assertions
2Linux · cna
HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 10eae4fcdc085a35147030ea3270d07a1c4e0065c355df5ef418fb2bf112854f
- Ingested
- 19 Oct 2026, 18:27:05 UTC
- Source record
- Official CVE record