Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
733260ff9c45bd4db60f45d17e8560a4a68dff4d to < 7c940a1100cb0aa18a54dc48d736c0525c0f400caffected733260ff9c45bd4db60f45d17e8560a4a68dff4d to < 05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31baffected733260ff9c45bd4db60f45d17e8560a4a68dff4d to < 9425a13960ef38bac237608f25c9ee64ff113086affected733260ff9c45bd4db60f45d17e8560a4a68dff4d to < 7654812b65047349ea4c111eed42c4315a00e462affected733260ff9c45bd4db60f45d17e8560a4a68dff4d to < 61b84e964a829d534f24eab4cbd4035d22b52601affected733260ff9c45bd4db60f45d17e8560a4a68dff4d to < ce8101c331956bbd3e20681331dfd22eb7c1c1eaaffected
Linux Linux
Default version status: affected
2.6.16affected0 to < 2.6.16unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7c940a1100cb0aa18a54dc48d736c0525c0f400c ↗
- https://git.kernel.org/stable/c/05d47f540d85c8f6697ec5cfc1aa7b4f96a5b31b ↗
- https://git.kernel.org/stable/c/9425a13960ef38bac237608f25c9ee64ff113086 ↗
- https://git.kernel.org/stable/c/7654812b65047349ea4c111eed42c4315a00e462 ↗
- https://git.kernel.org/stable/c/61b84e964a829d534f24eab4cbd4035d22b52601 ↗
- https://git.kernel.org/stable/c/ce8101c331956bbd3e20681331dfd22eb7c1c1ea ↗