net: usb: pegasus: don't rely on id table pointer arithmetic
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: net: usb: pegasus: don't rely on id table pointer arithmetic The current code is broken when dynamic ID is involved; in such cases usb_device_id parameter of probe lives on the heap and the pointer arithmetic will get an index that is wildly out of bound. Instead of keeping a side table for additional information, use driver_info field of the usb_device_id. The dynamic ID parsing code needs to be updated for this; convert it to just write to the reserved entry for dynamic ID and remove the weird loop.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 733260ff9c45bd4db60f45d17e8560a4a68dff4d · fixed in 7c940a1100cb0aa18a54dc48d736c0525c0f400c; From 733260ff9c45bd4db60f45d17e8560a4a68dff4d · fixed in 05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b; From 733260ff9c45bd4db60f45d17e8560a4a68dff4d · fixed in 9425a13960ef38bac237608f25c9ee64ff113086; From 733260ff9c45bd4db60f45d17e8560a4a68dff4d · fixed in 7654812b65047349ea4c111eed42c4315a00e462; From 733260ff9c45bd4db60f45d17e8560a4a68dff4d · fixed in 61b84e964a829d534f24eab4cbd4035d22b52601; From 733260ff9c45bd4db60f45d17e8560a4a68dff4d · fixed in ce8101c331956bbd3e20681331dfd22eb7c1c1ea
- Linux Linux
2.6.16
- KernelLinux
From 2.6.16 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7