{"id":"CVE-2026-97540","aliases":["CVE-2026-97540"],"related":[],"kind":"vulnerability","state":"published","title":"net: usb: pegasus: don't rely on id table pointer arithmetic","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: pegasus: don't rely on id table pointer arithmetic\n\nThe current code is broken when dynamic ID is involved; in such cases\nusb_device_id parameter of probe lives on the heap and the pointer\narithmetic will get an index that is wildly out of bound. Instead of\nkeeping a side table for additional information, use driver_info field of\nthe usb_device_id.\n\nThe dynamic ID parsing code needs to be updated for this; convert it to\njust write to the reserved entry for dynamic ID and remove the weird loop.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: pegasus: don't rely on id table pointer arithmetic\n\nThe current code is broken when dynamic ID is involved; in such cases\nusb_device_id parameter of probe lives on the heap and the pointer\narithmetic will get an index that is wildly out of bound. Instead of\nkeeping a side table for additional information, use driver_info field of\nthe usb_device_id.\n\nThe dynamic ID parsing code needs to be updated for this; convert it to\njust write to the reserved entry for dynamic ID and remove the weird loop.","source":"cvelist"}],"published":"2026-09-25T10:21:37.410Z","modified":"2026-10-19T10:17:23.053Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"733260ff9c45bd4db60f45d17e8560a4a68dff4d","fixed":"7c940a1100cb0aa18a54dc48d736c0525c0f400c","status":"affected"},{"type":"git","introduced":"733260ff9c45bd4db60f45d17e8560a4a68dff4d","fixed":"05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b","status":"affected"},{"type":"git","introduced":"733260ff9c45bd4db60f45d17e8560a4a68dff4d","fixed":"9425a13960ef38bac237608f25c9ee64ff113086","status":"affected"},{"type":"git","introduced":"733260ff9c45bd4db60f45d17e8560a4a68dff4d","fixed":"7654812b65047349ea4c111eed42c4315a00e462","status":"affected"},{"type":"git","introduced":"733260ff9c45bd4db60f45d17e8560a4a68dff4d","fixed":"61b84e964a829d534f24eab4cbd4035d22b52601","status":"affected"},{"type":"git","introduced":"733260ff9c45bd4db60f45d17e8560a4a68dff4d","fixed":"ce8101c331956bbd3e20681331dfd22eb7c1c1ea","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.16","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7c940a1100cb0aa18a54dc48d736c0525c0f400c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9425a13960ef38bac237608f25c9ee64ff113086","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7654812b65047349ea4c111eed42c4315a00e462","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61b84e964a829d534f24eab4cbd4035d22b52601","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce8101c331956bbd3e20681331dfd22eb7c1c1ea","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97540","url":"https://www.cve.org/CVERecord?id=CVE-2026-97540","licence":"CVE Terms of Use","modified":"2026-10-19T09:09:02.510Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97540","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97540","licence":"Public domain","modified":"2026-10-19T10:17:23.053Z"}],"updatedAt":"2026-11-25T22:59:40.951Z","epss":{"score":0.00211,"percentile":0.12068,"date":"2026-12-02T12:00:21.000Z"}}