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

Published May 28, 2026
·
Updated

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.

Affected Software

3 affected components
Linux Linux kernel (spi ch341)
Linux Linux kernel>=6.11<6.18.32
Linux Linux kernel>=6.19<7.0.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch spi: ch341: fix devres lifetime
  2. Operational

    Apply the kernel patch 'spi: ch341: fix devres lifetime' or upgrade the Linux kernel to a release that contains this commit so the ch341 SPI controller/driver devres lifetime is fixed and resources are released on driver unbind.

Event History

May 28, 2026
CVE Published
via MITRE·09:40 AM
Data Sourced
via MITRE·09:40 AM
Description
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46228?

The severity of CVE-2026-46228 is rated at 12, indicating a critical risk level.

2

What does CVE-2026-46228 address?

CVE-2026-46228 addresses issues with the devres lifetime in the spi: ch341 USB driver, tying device-managed resources to the USB interface.

3

How do I fix CVE-2026-46228?

To fix CVE-2026-46228, upgrade to the latest version of the Linux kernel that includes the patch for this vulnerability.

4

Which Linux kernel version is affected by CVE-2026-46228?

CVE-2026-46228 affects the Linux kernel specifically in the context of the spi: ch341 driver.

5

Is CVE-2026-46228 related to memory leaks?

Yes, CVE-2026-46228 resolves memory leak issues resulting from improper devres management in USB drivers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203