CVE-2025-21979
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21979 is a vulnerability discovered in the Linux kernel's WiFi subsystem, specifically in the cfg80211 component. The vulnerability was disclosed on April 1, 2025, and affects Linux kernel versions from 6.1.57 up to (excluding) 6.1.132, as well as various release candidates of version 6.14 (NVD).

Technical details

The vulnerability is classified as a Use-After-Free (CWE-416) issue that occurs in the wiphywork handling mechanism. The issue arises when a wiphywork is queued from the moment the wiphy is allocated and initialized (via wiphynewnm). If wiphyfree is called before the queued rdev::wiphywork has a chance to execute, the wiphy memory gets freed, leading to invalid memory access when the work eventually runs. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to high-severity impacts affecting the confidentiality, integrity, and availability of the system, as indicated by the CVSS scoring. The local attack vector and the potential for unauthorized memory access could allow attackers to execute code or cause system crashes (NVD).

Mitigation and workarounds

The vulnerability has been fixed by implementing a patch that cancels the work before freeing the wiphy. Multiple Linux distributions have released updates to address this vulnerability, including Ubuntu and Debian. Debian has marked this as fixed in version 5.10.234-1 for bullseye and 6.1.133-1 for bookworm (Debian).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management