can: kvaser_usb_leaf: kvaser_usb_leaf_wait_cmd(): validate received command extents
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d9e91672526ffa279709b15490118aea1bdee714, Kernel 0293dd153f9dbc1ddf5dacdccc76b363bce4a8ee, Kernel 185cb1fa38142a3cbf223dd8b3abb24217f330d3 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: can: kvaser_usb_leaf: kvaser_usb_leaf_wait_cmd(): validate received command extents The wait and bulk receive paths walk variable-length commands from a USB buffer. A nonzero command shorter than CMD_HEADER_LEN can still be dispatched, and the wait path copies a matching command into a fixed caller-owned struct kvaser_cmd using the device-provided length. Reject nonzero commands that do not contain the fixed header or that extend beyond the current USB buffer item. In the wait path, also reject a matching command that exceeds the destination before copying it.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <d9e91672526ffa279709b15490118aea1bdee714, >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <0293dd153f9dbc1ddf5dacdccc76b363bce4a8ee, >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <185cb1fa38142a3cbf223dd8b3abb24217f330d3, >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <21f0465fd86d77794aaed8e05f833634f68d178d, >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <3d0897ec623e422695d70d80ae456f89476c5328, >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <695aea154bb2d453e6daada1510972fafd075285, >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <72f96c2942f11a0ae8663adcb3d9ee986e07d4fa, >=080f40a6fa28dab299da7a652e444b1e2d9231e7 <c00ec53d7dec08134e97071850cc00ef000c5b77, =3.8 | d9e91672526ffa279709b15490118aea1bdee714, 0293dd153f9dbc1ddf5dacdccc76b363bce4a8ee, 185cb1fa38142a3cbf223dd8b3abb24217f330d3, 21f0465fd86d77794aaed8e05f833634f68d178d, 3d0897ec623e422695d70d80ae456f89476c5328, 695aea154bb2d453e6daada1510972fafd075285, 72f96c2942f11a0ae8663adcb3d9ee986e07d4fa, c00ec53d7dec08134e97071850cc00ef000c5b77 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.2.0 <6.6.151, >=6.7.0 <6.12.103, >=3.8.0 <5.10.265 | 5.15.216, 6.1.183, 6.18.44, 7.1.8, 6.6.151, 6.12.103, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket