wifi: cfg80211: cancel wiphy_work before freeing wiphy (Linux Linux)

CVE-2025-21979
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: cancel wiphy_work before freeing wiphy A wiphy_work can be queued from the moment the wiphy is allocated and initialized (i.e. wiphy_new_nm). When a wiphy_work is queued, the rdev::wiphy_work is getting queued. If wiphy_free is called before the rdev::wiphy_work had a chance to run, the wiphy memory will be freed, and then when it eventally gets to run it'll use invalid memory. Fix this by canceling the work before freeing the wiphy.

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:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected ddb1bfbf4ab5c753954d0cd728253b642934a9f2 < 8930a3e1568cf534f86c8ed2def817c6d0528fc1 ; affected 3fcc6d7d5f40dad56dee7bde787b7e23edd4b93c < 0272d4af7f92997541d8bbf4c51918b93ded6ee2 ; affected a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 < 75d262ad3c36d52852d764588fcd887f0fcd9138 ; affected a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 < a5158d67bff06cb6fea31be39aeb319fd908ed8e ; affected a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 < dea22de162058216a90f2706f0d0b36f0ff309fd ; affected a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 < 72d520476a2fab6f3489e8388ab524985d6c4b90
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.1.132 ≤ 6.1.* ; unaffected 6.6.84 ≤ 6.6.* ; unaffected 6.12.20 ≤ 6.12.* ; unaffected 6.13.8 ≤ 6.13.*

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