CVE-2025-21979

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
01/04/2025
Last modified:
06/04/2026

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.57 (including) 6.1.132 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.5 (including) 6.6.84 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.20 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*