CVE-2026-23178
HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()
Reported by linux · Published February 14, 2026
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 85df713377ddc0482071c3e6b64c37bd1e48f1f1, 85df713377ddc0482071c3e6b64c37bd1e48f1f1, 85df713377ddc0482071c3e6b64c37bd1e48f1f1 |
| Linux | Linux | 5.18, 0, 6.1.163 |
| linux | linux_kernel | 5.18, 5.18, 5.18 |
| Linux | Linux | 85df713377ddc0482071c3e6b64c37bd1e48f1f1, 85df713377ddc0482071c3e6b64c37bd1e48f1f1, 85df713377ddc0482071c3e6b64c37bd1e48f1f1 |
Timeline
- Feb 14, 2026 CVE Published
- Feb 15, 2026 EPSS Score (30 in total, the first dated here)
- Mar 13, 2026 PoC Published (6 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 2, 2026 Security Advisory (165 in total, the first dated here)
- Sep 29, 2026 CVE Updated
- Oct 4, 2026 Distribution Patch (162 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-23178
vulnetix vdb fixes CVE-2026-23178
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23178/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart