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

Published May 27, 2026
·
Updated

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

Affected Software

4 affected components
The Linux Foundation Linux kernel (spi: ch341 driver)
Linux Linux kernel>=6.11<6.12.86
Linux Linux kernel>=6.13<6.18.27
Linux Linux kernel>=6.19<7.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Ensure the driver deregisters the controller, disables pins, and kills and frees the RX URB on probe failures to prevent memory leaks and use-after-free.

    spi: ch341 driver deregister_controller_and_disable_pins_on_probe_failure = true
  2. Configuration

    Add an explicit kill of the RX URB on disconnect (mirror probe-failure behavior) to avoid leaks even if USB core would otherwise stop it.

    spi: ch341 driver kill_RX_URB_on_disconnect = true

Event History

May 27, 2026
CVE Published
via MITRE·12:58 PM
Data Sourced
via MITRE·12:58 PM
Description
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-46074?

The severity of CVE-2026-46074 is medium with a CVSS score of 5.5.

2

How do I fix CVE-2026-46074?

To fix CVE-2026-46074, ensure to deregister the controller, disable pins, and properly free the RX URB on probe failures.

3

What type of vulnerability is CVE-2026-46074?

CVE-2026-46074 is categorized as a Use After Free vulnerability.

4

Which software is affected by CVE-2026-46074?

CVE-2026-46074 affects the Linux kernel, specifically the spi: ch341 driver.

5

What can happen if CVE-2026-46074 is exploited?

If exploited, CVE-2026-46074 can lead to memory leaks and potential system instability.

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