# CVE-2026-46228: spi: ch341: fix devres lifetime

- 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.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-28T09:40:48.689Z
- Modified: 2026-10-21T13:19:05.340Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

spi: ch341: fix devres lifetime

USB drivers bind to USB interfaces and any device managed resources
should have their lifetime tied to the interface rather than parent USB
device. This avoids issues like memory leaks when drivers are unbound
without their devices being physically disconnected (e.g. on probe
deferral or configuration changes).

Fix the controller and driver data lifetime so that they are released
on driver unbind.

Note that this also makes sure that the SPI controller is placed
correctly under the USB interface in the device tree.

(As written by CVE List.)

## Affected

- Linux Linux: from 8846739f52afa07e63395c80227dc544f54bd7b1 before 42dfcd2ced905ea3993d88a051c13e04ab1029f7; from 8846739f52afa07e63395c80227dc544f54bd7b1 before 4422fc2411cbbdf5104a914e0596bb483faea254; from 8846739f52afa07e63395c80227dc544f54bd7b1 before 108a64b27a52f781c4f3751641e3dd65c7dd2fb5; from 8846739f52afa07e63395c80227dc544f54bd7b1 before abe572f630bc1f0e77041012ab075869036ede4f; 6.11 (not affected: before 6.11; from 6.12.114 up to 6.12.*; from 6.18.32 up to 6.18.*; from 7.0.9 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.11 before 6.18.32; from 6.19 before 7.0.9

## References

- <https://git.kernel.org/stable/c/42dfcd2ced905ea3993d88a051c13e04ab1029f7>
- <https://git.kernel.org/stable/c/4422fc2411cbbdf5104a914e0596bb483faea254> (patch)
- <https://git.kernel.org/stable/c/108a64b27a52f781c4f3751641e3dd65c7dd2fb5> (patch)
- <https://git.kernel.org/stable/c/abe572f630bc1f0e77041012ab075869036ede4f> (patch)

## Sources

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

---

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