CVE-2026-74458
Description
AI Translation Available
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.
https://git.kernel.org/stable/c/0293dd153f9dbc1ddf5dacdccc76b363bce4a8ee
https://git.kernel.org/stable/c/185cb1fa38142a3cbf223dd8b3abb24217f330d3
https://git.kernel.org/stable/c/21f0465fd86d77794aaed8e05f833634f68d178d
https://git.kernel.org/stable/c/3d0897ec623e422695d70d80ae456f89476c5328
https://git.kernel.org/stable/c/695aea154bb2d453e6daada1510972fafd075285