Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-46074

spi: ch341: fix memory leaks on probe failures

Description

In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix memory leaks on probe failures Make sure to deregister the controller, disable pins, and kill and free the RX URB on probe failures to mirror disconnect and avoid memory leaks and use-after-free. Also add an explicit URB kill on disconnect for symmetry (even if that is not strictly required as USB core would have stopped it in the current setup).

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

  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < 5c6518633702d7f7b1153e9d8e042af847f11ef3affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < ff8a7996dc8bf433efe2126ffdaee5b374a89e30affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < 9bee2faf9e21c796d0d222c9d84a98f41bd303a0affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < b99e3ddb91b499d920e63a2daff8880be68cfe9eaffected

Linux Linux

Default version status: affected

  • 6.11affected
  • 0 to < 6.11unaffected
  • 6.12.86 to ≤ 6.12.*unaffected
  • 6.18.27 to ≤ 6.18.*unaffected
  • 7.0.4 to ≤ 7.0.*unaffected
  • 7.1 to ≤ *unaffected

References