CVE-2026-68192

wifi: brcmfmac: make release_scratchbuffers idempotent

HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.41 % · centile 35 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: make release_scratchbuffers idempotent brcmf_pcie_release_scratchbuffers() frees the shared.scratch and shared.ringupd DMA buffers with dma_free_coherent() but does not clear the pointers afterwards, unlike the sibling release_ringbuffers() which NULLs commonrings/flowrings/idxbuf on release. Both the bus_reset .reset callback (brcmf_pcie_reset) and brcmf_pcie_remove() call release_scratchbuffers. When reset teardown has run before removal, remove's own teardown would call dma_free_coherent() a second time on the already-freed DMA allocation. NULL the pointers after free, matching release_ringbuffers(), so a later release observes that the allocation has already been released. This patch makes repeated sequential release safe; the reset-work lifetime is handled separately by the following patch. This issue was found by an in-house static analysis tool.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/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

Produits affectés

ProduitVersions
Linux · Linuxaffected 4684997d9eea29380000e062755aa6d368d789a3 < 81c58a206d1deee01f4c29236d4154c0872f2a38 ; affected 4684997d9eea29380000e062755aa6d368d789a3 < 382ee00b2d1e31869ae576a60d3fbe7a2153512f ; affected 4684997d9eea29380000e062755aa6d368d789a3 < 739b686aecdb14a6065300ea53401f043e51fd22 ; affected 4684997d9eea29380000e062755aa6d368d789a3 < b7d1d8cb1bdca56aecebacd2896615da0acc126a ; affected 4684997d9eea29380000e062755aa6d368d789a3 < 5a045c2f0fbf029873d2295178fa0785ade35af0 ; affected 4684997d9eea29380000e062755aa6d368d789a3 < 044fca8f45ba9ab6ca526163155234cf88287ff5
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.148 ≤ 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