CVE-2026-46074

spi: ch341: fix memory leaks on probe failures

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

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).

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before 5c6518633702d7f7b1153e9d8e042af847f11ef3Affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before ff8a7996dc8bf433efe2126ffdaee5b374a89e30Affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before 9bee2faf9e21c796d0d222c9d84a98f41bd303a0Affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before b99e3ddb91b499d920e63a2daff8880be68cfe9eAffected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.