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.
Published: 2026-05-28
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel's SPI driver for the CH341 controller performs device resource management incorrectly, causing resources to be tied to the USB device instead of the USB interface. When the driver is unbound, the associated resources are not released, leading to memory leaks. Over repeated rebind or probe‑deferral operations, these unfreed resources can accumulate, potentially exhausting system memory and degrading performance or triggering a denial of service. The primary weakness is a resource‑lifetime bug, which would be categorised as a memory‑leak issue.

Affected Systems

All Linux kernel releases that include the CH341 SPI driver before the commit referenced in the CVE are potentially affected. No specific version range is supplied; affected builds are any kernel that has not incorporated the fixes hosted in the linked git commits.

Risk and Exploitability

Exploit probability is very low, with an EPSS score of less than 1%, and the vulnerability is not listed in CISA's KEV catalog. The CVSS score is 5.5, indicating moderate risk. The risk stems from its nature as a memory leak that could be exacerbated by repeated unbinding operations, which may be triggered by configuration changes or device probe deferrals. The attack vector is likely local or user‑initiated, as it requires interaction with the USB interface; it is inferred that an adversary with physical or privileged access could force unbind operations to cause the leak. No public exploit is documented, but the potential for resource exhaustion makes the vulnerability significant for long‑running or resource‑constrained systems.

Generated by OpenCVE AI on June 10, 2026 at 22:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel version that includes the CH341 resource‑lifetime fix, as referenced in the linked git commits.
  • If an up‑to‑date kernel is unavailable, backport the commit(s) that adjust devres lifetime and rebuild the kernel.
  • Verify that the device tree correctly places the SPI controller under the USB interface so that the lifetime semantics are respected.

Generated by OpenCVE AI on June 10, 2026 at 22:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Fri, 29 May 2026 03:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Fri, 29 May 2026 00:15:00 +0000


Thu, 28 May 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
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.
Title spi: ch341: fix devres lifetime
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T18:04:11.974Z

Reserved: 2026-05-13T15:03:33.106Z

Link: CVE-2026-46228

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-28T10:16:38.433

Modified: 2026-06-10T21:12:31.397

Link: CVE-2026-46228

cve-icon Redhat

Severity :

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46228 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T22:45:27Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime