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

Published Apr 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wifi: cfg80211: cancel wiphywork before freeing wiphy

A wiphywork can be queued from the moment the wiphy is allocated and initialized (i.e. wiphynewnm). When a wiphywork is queued, the rdev::wiphywork is getting queued.

If wiphyfree is called before the rdev::wiphywork 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.

Affected Software

13 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.82.1-1
Linux Linux kernel>=6.1.57<6.1.132
Linux Linux kernel>=6.5<6.6.84
Linux Linux kernel>=6.7<6.12.20
Linux Linux kernel>=6.13<6.13.8
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Linux kernel=6.14-rc6
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Event History

Apr 1, 2025
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
DescriptionSeverity
Data Sourced
via Red Hat·04:04 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 5, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-21979?

CVE-2025-21979 is classified as a medium severity vulnerability impacting the Linux kernel.

2

How do I fix CVE-2025-21979?

To fix CVE-2025-21979, update to the latest version of the Linux kernel that includes the necessary patches.

3

What systems are affected by CVE-2025-21979?

CVE-2025-21979 affects various versions of the Linux kernel where the wifi cfg80211 subsystem is used.

4

What are the potential impacts of CVE-2025-21979?

If exploited, CVE-2025-21979 may lead to denial of service due to improper handling of wiphy_work structures.

5

Is CVE-2025-21979 publicly known?

Yes, CVE-2025-21979 has been publicly disclosed and documented for awareness and remediation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203