spi: sprd: fix error pointer deref after DMA setup failure (Linux Linux)

CVE-2026-64168
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.11 % · 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: sprd: fix error pointer deref after DMA setup failure The driver falls back to PIO mode if DMA setup fails during probe. Make sure to check the dma.enabled flag before trying to release the DMA channels also on late probe errors to avoid dereferencing an error pointer (or attempting to release a channel a second time). This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
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)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 386119bc7be9fa5114ced0274a22a943df890b4b < be74e276111f3c23b8e040c8c5e308f67a573add ; affected 386119bc7be9fa5114ced0274a22a943df890b4b < a8f233fb0c7be29b97cd249f64120bf35ce72805 ; affected 386119bc7be9fa5114ced0274a22a943df890b4b < 0cdea166c1a07c200caf9d0b722224fca43b23ae ; affected 386119bc7be9fa5114ced0274a22a943df890b4b < 450c319dd04d0eeff4184889768f7ada826a2e35 ; affected 386119bc7be9fa5114ced0274a22a943df890b4b < b6f1acf4e57ccf708cdc0cb70f5bb5b65162963b ; affected 386119bc7be9fa5114ced0274a22a943df890b4b < be409d2bbe9ca7da7b05cc7dde7499bc481f0766
Linux · Linuxaffected 5.1 ; unaffected 0 < 5.1 ; 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