spi: ch341: fix devres lifetime (Linux Linux)

CVE-2026-46228
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Modified

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.

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

ProductAffected versions
Linux · Linux
affected : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < 42dfcd2ced905ea3993d88a051c13e04ab1029f7
affected : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < 4422fc2411cbbdf5104a914e0596bb483faea254
affected : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < 108a64b27a52f781c4f3751641e3dd65c7dd2fb5
affected : ≥ 8846739f52afa07e63395c80227dc544f54bd7b1 < abe572f630bc1f0e77041012ab075869036ede4f
Other versions : unaffected
Linux · Linux
affected : 6.11
unaffected : ≥ 0 < 6.11
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.32 ≤ 6.18.*
unaffected : ≥ 7.0.9 ≤ 7.0.*
unaffected : ≥ 7.1 ≤ *
Other versions : affected

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