PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-46074 Linux CVE debrief

A memory leak vulnerability exists in the Linux kernel's CH341 SPI driver that occurs during probe failure conditions. The flaw stems from improper cleanup paths when device initialization fails, leading to resource leaks including the SPI controller, pin configurations, and USB request block (URB) memory. The vulnerability also encompasses a related use-after-free risk due to incomplete teardown sequences. The fix ensures symmetric cleanup between probe failure and device disconnect paths by explicitly deregistering the controller, disabling pins, and killing/freeing the RX URB. An additional hardening measure adds explicit URB kill on disconnect for defensive symmetry.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-06-24
Advisory published
2026-05-27
Advisory updated
2026-06-24

Who should care

Linux system administrators running kernels with CH341 USB-to-SPI adapter support; embedded systems developers using CH341 hardware; security teams tracking kernel driver vulnerabilities; distribution maintainers responsible for stable kernel backports

Technical summary

The CH341 SPI driver in the Linux kernel fails to properly release resources when probe() encounters an error condition. Specifically, the driver omits calls to spi_controller_unregister(), pinctrl_disable_pins(), and usb_kill_urb()/usb_free_urb() for the RX URB during error paths, causing memory leaks and potential use-after-free conditions. The fix introduces proper cleanup sequencing that mirrors the existing disconnect handler, ensuring all allocated resources are released regardless of initialization success or failure. An additional explicit URB kill operation was added to the disconnect path for defensive symmetry, though this is not strictly required as USB core stops URBs automatically in the current configuration.

Defensive priority

medium

Recommended defensive actions

  • Apply kernel updates containing the referenced stable tree commits when available from distribution vendors
  • Monitor vendor security advisories for backported fixes to supported kernel versions
  • Review systems using CH341-based USB-to-SPI adapters for kernel version exposure
  • Consider disabling CH341 SPI driver (CONFIG_SPI_CH341) if functionality is not required as interim risk reduction

Evidence notes

Vulnerability description sourced from official CVE record and NVD entry. Fix commits identified in kernel.org stable tree. No CVSS score or severity assigned by NVD at time of disclosure (status: Awaiting Analysis). Vendor identification marked low confidence by source system due to 'Unknown Vendor' classification; evidence points to Linux kernel as affected product.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-46074 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-46074

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-46074 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-46074

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5c6518633702d7f7b1153e9d8e042af847f11ef3

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9bee2faf9e21c796d0d222c9d84a98f41bd303a0

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/b99e3ddb91b499d920e63a2daff8880be68cfe9e

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/ff8a7996dc8bf433efe2126ffdaee5b374a89e30

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.