SecurityContext

CVE-2025-21979: Linux Kernel - Use After Free

  • Cve: CVE-2025-21979
  • Name: Linux Kernel - Use After Free
  • 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.
  • Impact: Potential kernel panic or arbitrary code execution due to use-after-free vulnerability.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed, or apply the patch to cancel wiphy_work before freeing wiphy.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00216
  • Epss percentile: 0.11863
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-04-01T16:15:29Z
  • Age in days: 602
  • Modified at: 2026-06-17T08:44:45Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-21979
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
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

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.14 rc1; = 6.14 rc2; = 6.14 rc3; = 6.14 rc4; = 6.14 rc5; = 6.14 rc6; >= 6.13, < 6.13.8; >= 6.7, < 6.12.20; >= 6.5, < 6.6.84; >= 6.1.57, < 6.1.132nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports