CVE-2026-46228
Analyzed Analyzed - Analysis Complete
spi: ch341 driver devres lifetime fix

Publication date: 2026-05-28

Last updated on: 2026-06-10

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-06-10
Generated
2026-06-17
AI Q&A
2026-05-29
EPSS Evaluated
2026-06-16
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.19 (inc) to 7.0.9 (exc)
linux linux_kernel From 6.11 (inc) to 6.18.32 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Mitigation Strategies

To mitigate this vulnerability, ensure that your Linux kernel is updated to a version that includes the fix for the spi: ch341 devres lifetime issue.

This fix addresses memory leaks related to USB drivers by properly tying device managed resources to the USB interface lifetime rather than the parent USB device.

Applying the latest kernel updates or patches that include this fix will prevent issues caused by driver unbinding without physical device disconnection.

Executive Summary

This vulnerability relates to the Linux kernel's SPI driver for the ch341 device. The issue was that USB drivers were binding device-managed resources to the parent USB device instead of the USB interface. This caused problems such as memory leaks when drivers were unbound without the physical disconnection of devices, for example during probe deferral or configuration changes.

The fix involved correcting the lifetime management of the SPI controller and driver data so that these resources are properly released when the driver is unbound. Additionally, the SPI controller is now correctly placed under the USB interface in the device tree.

Impact Analysis

This vulnerability can lead to memory leaks in the Linux kernel when USB drivers are unbound without the device being physically disconnected. Over time, such leaks can degrade system performance or stability, potentially causing resource exhaustion or unexpected behavior in systems using the affected SPI driver.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46228. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart