Shellfeed logo Shellfeed

CVE-2026-74458 · UNKNOWN

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

Details

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 packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [080f40a6fa28dab299da7a652e444b1e2d9231e7 – c00ec53d7dec08134e97071850cc00ef000c5b77]
  • Linux Kernel [3.8.0 – 5.10.265] [5.11.0 – 5.15.216] [5.16.0 – 6.1.183] [6.2.0 – 6.6.151] [6.7.0 – 6.12.103] [6.13.0 – 6.18.44] [6.19.0 – 7.1.8]

References