# CVE-2026-46074: spi: ch341: fix memory leaks on probe failures

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-27T12:58:04.703Z
- Modified: 2026-06-24T16:59:17.650Z
- Weaknesses: CWE-401
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 8846739f52afa07e63395c80227dc544f54bd7b1 before 5c6518633702d7f7b1153e9d8e042af847f11ef3; from 8846739f52afa07e63395c80227dc544f54bd7b1 before ff8a7996dc8bf433efe2126ffdaee5b374a89e30; from 8846739f52afa07e63395c80227dc544f54bd7b1 before 9bee2faf9e21c796d0d222c9d84a98f41bd303a0; from 8846739f52afa07e63395c80227dc544f54bd7b1 before b99e3ddb91b499d920e63a2daff8880be68cfe9e; 6.11 (not affected: before 6.11; from 6.12.86 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.11 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/5c6518633702d7f7b1153e9d8e042af847f11ef3> (patch)
- <https://git.kernel.org/stable/c/ff8a7996dc8bf433efe2126ffdaee5b374a89e30> (patch)
- <https://git.kernel.org/stable/c/9bee2faf9e21c796d0d222c9d84a98f41bd303a0> (patch)
- <https://git.kernel.org/stable/c/b99e3ddb91b499d920e63a2daff8880be68cfe9e> (patch)

## Sources

- CVE List: [CVE-2026-46074](https://www.cve.org/CVERecord?id=CVE-2026-46074), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-46074](https://nvd.nist.gov/vuln/detail/CVE-2026-46074), Public domain, modified 2026-06-24

---

Page: https://cve.day/CVE-2026-46074 · Whole record: https://cve.day/CVE-2026-46074.json · Rebuilt by cve.day 2026-11-25T22:59:22.571Z
