{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23178","id":"CVE-2026-23178","title":"HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()\n\n`i2c_hid_xfer` is used to read `recv_len + sizeof(__le16)` bytes of data\ninto `ihid->rawbuf`.\n\nThe former can come from the userspace in the hidraw driver and is only\nbounded by HID_MAX_BUFFER_SIZE(16384) by default (unless we also set\n`max_buffer_size` field of","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()\n\n`i2c_hid_xfer` is used to read `recv_len + sizeof(__le16)` bytes of data\ninto `ihid->rawbuf`.\n\nThe former can come from the userspace in the hidraw driver and is only\nbounded by HID_MAX_BUFFER_SIZE(16384) by default (unless we also set\n`max_buffer_size` field of `struct hid_ll_driver` which we do not).\n\nThe latter has size determined at runtime by the maximum size of\ndifferent report types you could receive on any particular device and\ncan be a much smaller value.\n\nFix this by truncating `recv_len` to `ihid->bufsize - sizeof(__le16)`.\n\nThe impact is low since access to hidraw devices requires root.","published":"2026-02-14T16:27:10.108Z","updated":"2026-10-28T02:30:31.401407325Z","reserved":"2026-01-13T15:37:45.984Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"85df713377ddc0482071c3e6b64c37bd1e48f1f1","lessThan":"f9c9ad89d845f88a1509e9d672f65d234425fde9","status":"affected","versionType":"git"},{"version":"85df713377ddc0482071c3e6b64c37bd1e48f1f1","lessThan":"cff3f619fd1cb40cdd89971df9001f075613d219","status":"affected","versionType":"git"},{"version":"85df713377ddc0482071c3e6b64c37bd1e48f1f1","lessThan":"786ec171788bdf9dda38789163f1b1fbb47f2d1e","status":"affected","versionType":"git"},{"version":"85df713377ddc0482071c3e6b64c37bd1e48f1f1","lessThan":"2124279f1f8c32c1646ce98e75a1a39b23b7db76","status":"affected","versionType":"git"},{"version":"85df713377ddc0482071c3e6b64c37bd1e48f1f1","lessThan":"2497ff38c530b1af0df5130ca9f5ab22c5e92f29","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.1.163","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.124","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.70","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.10","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-122"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f9c9ad89d845f88a1509e9d672f65d234425fde9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/cff3f619fd1cb40cdd89971df9001f075613d219","tags":["web"]},{"url":"https://git.kernel.org/stable/c/786ec171788bdf9dda38789163f1b1fbb47f2d1e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2124279f1f8c32c1646ce98e75a1a39b23b7db76","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2497ff38c530b1af0df5130ca9f5ab22c5e92f29","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23178.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23178","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00194,"epssPercentile":0.09254,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23178","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23178","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23178","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-23178","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}