# CVE-2025-21979: wifi: cfg80211: cancel wiphy_work before freeing wiphy

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-04-01T15:47:08.699Z
- Modified: 2026-08-05T11:55:49.695Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ddb1bfbf4ab5c753954d0cd728253b642934a9f2 before 8930a3e1568cf534f86c8ed2def817c6d0528fc1; from 3fcc6d7d5f40dad56dee7bde787b7e23edd4b93c before 0272d4af7f92997541d8bbf4c51918b93ded6ee2; from a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 before 75d262ad3c36d52852d764588fcd887f0fcd9138; from a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 before a5158d67bff06cb6fea31be39aeb319fd908ed8e; from a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 before dea22de162058216a90f2706f0d0b36f0ff309fd; from a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 before 72d520476a2fab6f3489e8388ab524985d6c4b90; from 6.1.57 before 6.1.132; 6.5 (not affected: before 6.5; from 6.1.132 up to 6.1.*; from 6.6.84 up to 6.6.*; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.1.57 before 6.1.132; from 6.5 before 6.6.84; from 6.7 before 6.12.20; from 6.13 before 6.13.8; 6.14

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/8930a3e1568cf534f86c8ed2def817c6d0528fc1> (patch)
- <https://git.kernel.org/stable/c/0272d4af7f92997541d8bbf4c51918b93ded6ee2> (patch)
- <https://git.kernel.org/stable/c/75d262ad3c36d52852d764588fcd887f0fcd9138> (patch)
- <https://git.kernel.org/stable/c/a5158d67bff06cb6fea31be39aeb319fd908ed8e> (patch)
- <https://git.kernel.org/stable/c/dea22de162058216a90f2706f0d0b36f0ff309fd> (patch)
- <https://git.kernel.org/stable/c/72d520476a2fab6f3489e8388ab524985d6c4b90> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (patch)

## Sources

- CVE List: [CVE-2025-21979](https://www.cve.org/CVERecord?id=CVE-2025-21979), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21979](https://nvd.nist.gov/vuln/detail/CVE-2025-21979), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21979 · Whole record: https://cve.day/CVE-2025-21979.json · Rebuilt by cve.day 2026-11-25T22:58:55.921Z
