CVE-2026-23178 Details
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.
A potential buffer overflow vulnerability has been identified in the Linux kernel's i2c-hid HID driver. This issue arises in the i2c_hid_get_report function, where the i2c_hid_xfer function is used to read a length of data into a buffer. The length can be influenced by userspace input through the hidraw driver, and is only limited by a default maximum of 16,384 bytes. The data length can be further constrained by the specific report types of the device, potentially leading to a smaller value. The vulnerability has been addressed by modifying the code to ensure that the received length does not exceed the buffer size, minus the size of a header field. Access to hidraw devices typically requires root privileges, which limits the impact of this vulnerability.
Users can upgrade to the patched version of the Linux kernel available in the Linux kernel stable tree. Instructions for downloading the updated kernel can be found in the Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 14, 2026CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2124279f1f8c32c1646ce98e75a1a39b23b7db76 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/2497ff38c530b1af0df5130ca9f5ab22c5e92f29 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/786ec171788bdf9dda38789163f1b1fbb47f2d1e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cff3f619fd1cb40cdd89971df9001f075613d219 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f9c9ad89d845f88a1509e9d672f65d234425fde9 | kernel.org | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Oct 16, 2026 | CVE Modified | kernel.org |
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 3, 2026 | CVE Modified | kernel.org |
| Feb 14, 2026 | New CVE Received | kernel.org |
Volerion