{"id":"CVE-2026-97540","summary":"net: usb: pegasus: don't rely on id table pointer arithmetic","details":"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.","modified":"2026-10-09T17:26:58.456448292Z","published":"2026-09-25T10:21:37.410Z","related":["openSUSE-SU-2026:12074-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97540.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61b84e964a829d534f24eab4cbd4035d22b52601"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7654812b65047349ea4c111eed42c4315a00e462"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c940a1100cb0aa18a54dc48d736c0525c0f400c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9425a13960ef38bac237608f25c9ee64ff113086"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce8101c331956bbd3e20681331dfd22eb7c1c1ea"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97540.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97540"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"733260ff9c45bd4db60f45d17e8560a4a68dff4d"},{"fixed":"7c940a1100cb0aa18a54dc48d736c0525c0f400c"},{"fixed":"05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b"},{"fixed":"9425a13960ef38bac237608f25c9ee64ff113086"},{"fixed":"7654812b65047349ea4c111eed42c4315a00e462"},{"fixed":"61b84e964a829d534f24eab4cbd4035d22b52601"},{"fixed":"ce8101c331956bbd3e20681331dfd22eb7c1c1ea"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97540.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.16"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97540.json"}}],"schema_version":"1.9.0"}