{
  "id": "CVE-2026-23178",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-23178",
  "published_at": "2026-02-14T16:27:10.108Z",
  "title": "HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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-\u003erawbuf`.\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-\u003ebufsize - sizeof(__le16)`.\n\nThe impact is low since access to hidraw devices requires root.",
  "cwe": "CWE-122",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 85df713377ddc0482071c3e6b64c37bd1e48f1f1, \u003c f9c9ad89d845f88a1509e9d672f65d234425fde9",
          "\u003e= 85df713377ddc0482071c3e6b64c37bd1e48f1f1, \u003c cff3f619fd1cb40cdd89971df9001f075613d219",
          "\u003e= 85df713377ddc0482071c3e6b64c37bd1e48f1f1, \u003c 786ec171788bdf9dda38789163f1b1fbb47f2d1e",
          "\u003e= 85df713377ddc0482071c3e6b64c37bd1e48f1f1, \u003c 2124279f1f8c32c1646ce98e75a1a39b23b7db76",
          "\u003e= 85df713377ddc0482071c3e6b64c37bd1e48f1f1, \u003c 2497ff38c530b1af0df5130ca9f5ab22c5e92f29"
        ],
        "fixed_in": [
          "f9c9ad89d845f88a1509e9d672f65d234425fde9",
          "cff3f619fd1cb40cdd89971df9001f075613d219",
          "786ec171788bdf9dda38789163f1b1fbb47f2d1e",
          "2124279f1f8c32c1646ce98e75a1a39b23b7db76",
          "2497ff38c530b1af0df5130ca9f5ab22c5e92f29"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.18"
        ],
        "fixed_in": [
          "0",
          "6.1.163",
          "6.6.124",
          "6.12.70",
          "6.18.10",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to f9c9ad89d845f88a1509e9d672f65d234425fde9 or cff3f619fd1cb40cdd89971df9001f075613d219 or 786ec171788bdf9dda38789163f1b1fbb47f2d1e or 2124279f1f8c32c1646ce98e75a1a39b23b7db76 or 2497ff38c530b1af0df5130ca9f5ab22c5e92f29 or later.",
      "Upgrade Linux to 0 or 6.1.163 or 6.6.124 or 6.12.70 or 6.18.10 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
