CVE-2025-21979

HIGH EPSS 7.1%
Published Apr 1, 20251y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Apr 1, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
7.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 10

VendorProductVersionRange
linuxlinux_kernel*≥6.1.57  –  <6.1.132
linuxlinux_kernel*≥6.5  –  <6.6.84
linuxlinux_kernel*≥6.7  –  <6.12.20
linuxlinux_kernel*≥6.13  –  <6.13.8
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any

References 7

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

Remediation

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