CVE-2026-74458 PUBLISHED

can: kvaser_usb_leaf: kvaser_usb_leaf_wait_cmd(): validate received command extents

Assigner: Linux
Reserved: 15.08.2026 Published: 15.08.2026 Updated: 15.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 080f40a6fa28dab299da7a652e444b1e2d9231e7 to 695aea154bb2d453e6daada1510972fafd075285 (excl.)
  • affected from 080f40a6fa28dab299da7a652e444b1e2d9231e7 to 3d0897ec623e422695d70d80ae456f89476c5328 (excl.)
  • affected from 080f40a6fa28dab299da7a652e444b1e2d9231e7 to 185cb1fa38142a3cbf223dd8b3abb24217f330d3 (excl.)
  • affected from 080f40a6fa28dab299da7a652e444b1e2d9231e7 to 21f0465fd86d77794aaed8e05f833634f68d178d (excl.)
  • affected from 080f40a6fa28dab299da7a652e444b1e2d9231e7 to 0293dd153f9dbc1ddf5dacdccc76b363bce4a8ee (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.8 is affected
  • unaffected from 0 to 3.8 (excl.)
  • unaffected from 6.6.151 to 6.6.* (incl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2-rc6 to * (incl.)

References