{
  "id": "CVE-2025-21794",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21794",
  "published_at": "2025-02-27T02:18:30.907Z",
  "title": "HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()\n\nSyzbot[1] has detected a stack-out-of-bounds read of the ep_addr array from\nhid-thrustmaster driver. This array is passed to usb_check_int_endpoints\nfunction from usb.c core driver, which executes a for loop that iterates\nover the elements of the passed array. Not finding a null element at the end of\nthe array, it tries to read the next, non-existent element, crashing the kernel.\n\nTo fix this, a 0 element was added at the end of the array to break the for\nloop.\n\n[1] https://syzkaller.appspot.com/bug?extid=9c9179ac46169c56c1ad",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.1,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 220883fba32549a34f0734e4859d07f4dcd56992, \u003c 436f48c864186e9413d1b7c6e91767cc9e1a65b8",
          "\u003e= ae730deded66150204c494282969bfa98dc3ae67, \u003c f3ce05283f6cb6e19c220f5382def43dc5bd56b9",
          "\u003e= e5bcae4212a6a4b4204f46a1b8bcba08909d2007, \u003c cdd9a1ea23ff1a272547217100663e8de4eada40",
          "\u003e= 816e84602900f7f951458d743fa12769635ebfd5, \u003c 73e36a699b9f46322ffb81f072a24e64f728dba7",
          "\u003e= 50420d7c79c37a3efe4010ff9b1bb14bc61ebccf, \u003c 0b43d98ff29be3144e86294486b1373b5df74c0e"
        ],
        "fixed_in": [
          "436f48c864186e9413d1b7c6e91767cc9e1a65b8",
          "f3ce05283f6cb6e19c220f5382def43dc5bd56b9",
          "cdd9a1ea23ff1a272547217100663e8de4eada40",
          "73e36a699b9f46322ffb81f072a24e64f728dba7",
          "0b43d98ff29be3144e86294486b1373b5df74c0e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6.6.76, \u003c 6.6.79",
          "\u003e= 6.12.13, \u003c 6.12.16",
          "\u003e= 6.13.2, \u003c 6.13.4"
        ],
        "fixed_in": [
          "6.6.79",
          "6.12.16",
          "6.13.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 436f48c864186e9413d1b7c6e91767cc9e1a65b8 or f3ce05283f6cb6e19c220f5382def43dc5bd56b9 or cdd9a1ea23ff1a272547217100663e8de4eada40 or 73e36a699b9f46322ffb81f072a24e64f728dba7 or 0b43d98ff29be3144e86294486b1373b5df74c0e or later.",
      "Upgrade Linux to 6.6.79 or 6.12.16 or 6.13.4 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
