spi: ti-qspi: fix use-after-free after DMA setup failure (Linux Linux)

CVE-2026-64221
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: spi: ti-qspi: fix use-after-free after DMA setup failure The driver falls back to PIO mode if DMA setup fails during probe. Make sure to clear the DMA channel pointer also if buffer allocation fails to avoid passing a pointer to the released channel to the DMA engine (or trying to free the channel a second time on late probe errors or driver unbind). This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 < 9c6f306a8140962c7284197db54b96fdb5f468d6 ; affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 < 3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6 ; affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 < d6f422b122922d1abee907d673bcc990e5f3672d ; affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 < f2dc841d7dc9063fe9b47ced869b1271e55052ae ; affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 < 1cd927002120678bd5d23c760246639caa53040e ; affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 < d7a076fb596c7b408ed6df74793a597990a6d860
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

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