CVE-2025-21979
published high CVSS 3.1 · 7.8wifi: cfg80211: cancel wiphy_work before freeing wiphy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxddb1bfbf4ab5c753954d0cd728253b642934a9f2 to < 8930a3e1568cf534f86c8ed2def817c6d0528fc1 · 3fcc6d7d5f40dad56dee7bde787b7e23edd4b93c to < 0272d4af7f92997541d8bbf4c51918b93ded6ee2 · a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < 75d262ad3c36d52852d764588fcd887f0fcd9138 · a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < a5158d67bff06cb6fea31be39aeb319fd908ed8e · a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < dea22de162058216a90f2706f0d0b36f0ff309fd · a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < 72d520476a2fab6f3489e8388ab524985d6c4b90 · 6.1.57 to < 6.1.132 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 6.1.132 through 6.1.* (unaffected · semver) · 6.6.84 through 6.6.* (unaffected · semver) · 6.12.20 through 6.12.* (unaffected · semver) · 6.13.8 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| Debian | bookworm | linux | Advisory build | 6.1.133-1 | DSA-5900-1 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-570.22.1.el9_6 | ALSA-2025:9080 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.137-1~deb11u1 | DLA-4193-1 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-9079 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The wiphy lifecycle operations that trigger the free (`HWSIM_CMD_NEW_RADIO`/`DEL_RADIO` generic netlink, `RTM_NEWLINK`/`DELLINK` for virt_wifi, netns teardown, module/device removal) are all local syscall/netlink operations. Remote 802.11 frames can keep wiphy_work queued but cannot themselves free the wiphy, so the attacker must have local access. AC:L - The attacker drives both halves — they allocate the wiphy, queue the wiphy_work, and free the wiphy, and can hit deterministic failure paths in `wiphy_new_nm()`/`mac80211_hwsim_new_radio()` or simply loop create/destroy while widening the window with CPU load. Per kernel UAF guidance an attacker-created race is Low. PR:L - `hwsim_new_radio_nl`/`hwsim_del_radio_nl` are gated only by `GENL_UNS_ADMIN_PERM`, i.e. `netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)` on a `.netnsok` family, so any unprivileged user obtains it via `unshare -Urn`; virt_wifi's rtnetlink create/destroy is namespaced the same way. No real root in the init namespace is needed. UI:N - The attacker performs the entire sequence — allocate wiphy, queue work, free wiphy — from their own process with no victim participation. No mount, file open, or any other user action is involved. S:U - The use-after-free corrupts kernel heap memory and hijacks kernel control flow within the same security authority; no VM, hypervisor, or IOMMU/DMA boundary is crossed. C:H - The stale worker reads the work-list head and a `struct wiphy_work *` out of the freed `rdev`, so a heap-spray reclaim of the freed allocation gives the attacker control of those pointers; combined with the `list_del_init()` write primitive this is leverageable into arbitrary kernel memory disclosure. I:H - `list_del_init(&wk->entry)` writes attacker-influenced values through pointers read from freed memory (write-what-where), and `wk->func(&rdev->wiphy, wk)` is an indirect call through a function pointer read from freed memory — a direct control-flow hijack enabling arbitrary code execution. A:H - Even without exploitation the stale `cfg80211_wiphy_work()` takes a mutex and spinlock in freed, already-`mutex_destroy`'d memory and dereferences a garbage list head, producing a KASAN splat, oops, or panic; the attacker can retrigger it in a loop.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ddb1bfbf4ab5c753954d0cd728253b642934a9f2 to < 8930a3e1568cf534f86c8ed2def817c6d0528fc1 (affected · git)3fcc6d7d5f40dad56dee7bde787b7e23edd4b93c to < 0272d4af7f92997541d8bbf4c51918b93ded6ee2 (affected · git)a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < 75d262ad3c36d52852d764588fcd887f0fcd9138 (affected · git)a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < a5158d67bff06cb6fea31be39aeb319fd908ed8e (affected · git)a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < dea22de162058216a90f2706f0d0b36f0ff309fd (affected · git)a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 to < 72d520476a2fab6f3489e8388ab524985d6c4b90 (affected · git)6.1.57 to < 6.1.132 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.5 (affected)0 to < 6.5 (unaffected · semver)6.1.132 through 6.1.* (unaffected · semver)6.6.84 through 6.6.* (unaffected · semver)6.12.20 through 6.12.* (unaffected · semver)6.13.8 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
7- https://git.kernel.org/stable/c/0272d4af7f92997541d8bbf4c51918b93ded6ee2
- https://git.kernel.org/stable/c/72d520476a2fab6f3489e8388ab524985d6c4b90
- https://git.kernel.org/stable/c/75d262ad3c36d52852d764588fcd887f0fcd9138
- https://git.kernel.org/stable/c/8930a3e1568cf534f86c8ed2def817c6d0528fc1
- https://git.kernel.org/stable/c/a5158d67bff06cb6fea31be39aeb319fd908ed8e
- https://git.kernel.org/stable/c/dea22de162058216a90f2706f0d0b36f0ff309fd
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Provider assertions
3Linux · cna
wifi: cfg80211: cancel wiphy_work before freeing wiphy
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 55290894f6b696f9619b9f7a4f8ae396a2d6bb5ea0b02f299fa551a7bfdfe0cc
- Ingested
- 23 Sep 2026, 08:40:04 UTC
- Source record
- Official CVE record