CVE-2025-21979

HIGH

Linux Kernel - Use-After-Free in WiFi cfg80211 wiphy_work

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0017
EPSS Percentile 7.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (20)
linux/Kernel < 6.1.132linux
linux/Kernel 6.2.0 - 6.6.84linux
linux/Kernel 6.5.0 - 6.12.20linux
linux/Kernel 6.7.0 - 6.13.8linux
Linux/Linux < 6.5
Linux/Linux 3fcc6d7d5f40dad56dee7bde787b7e23edd4b93c - 0272d4af7f92997541d8bbf4c51918b93ded6ee2
Linux/Linux 6.1.132 - 6.1.*
Linux/Linux 6.1.57 - 6.1.132
Linux/Linux 6.12.20 - 6.12.*
Linux/Linux 6.13.8 - 6.13.*
... and 10 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026