CVE-2026-46074

spi: ch341: fix memory leaks on probe failures

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Undergoing Analysis

Description

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

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8846739f52afa07e63395c80227dc544f54bd7b1 < 5c6518633702d7f7b1153e9d8e042af847f11ef3 ; affected 8846739f52afa07e63395c80227dc544f54bd7b1 < ff8a7996dc8bf433efe2126ffdaee5b374a89e30 ; affected 8846739f52afa07e63395c80227dc544f54bd7b1 < 9bee2faf9e21c796d0d222c9d84a98f41bd303a0 ; affected 8846739f52afa07e63395c80227dc544f54bd7b1 < b99e3ddb91b499d920e63a2daff8880be68cfe9e
Linux · Linuxaffected 6.11 ; unaffected 0 < 6.11 ; unaffected 6.12.86 ≤ 6.12.* ; unaffected 6.18.27 ≤ 6.18.* ; unaffected 7.0.4 ≤ 7.0.* ; unaffected 7.1 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD