Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-21729

7.8 · HIGH
Published Feb 27, 2025 linux CWE-416 EPSS 0.20% (10th pctl)

Overview

CVE-2025-21729 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

wifi: rtw89: fix race between cancel_hw_scan and hw_scan completion

The rtwdev->scanning flag isn't protected by mutex originally, so

cancel_hw_scan can pass the condition, but suddenly hw_scan completion

unset the flag and calls ieee80211_scan_completed() that will free

local->hw_scan_req. Then, cancel_hw_scan raises null-ptr-deref and

use-after-free. Fix it by moving the check condition to where

protected by mutex.

KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f]

CPU: 2 PID: 6922 Comm: kworker/2:2 Tainted: G OE

Hardware name: LENOVO 2356AD1/2356AD1, BIOS G7ETB6WW (2.76 ) 09/10/2019

Workqueue: events cfg80211_conn_work [cfg80211]

RIP: 0010:rtw89_fw_h2c_scan_offload_be+0xc33/0x13c3 [rtw89_core]

Code: 00 45 89 6c 24 1c 0f 85 23 01 00 00 48 8b 85 20 ff ff ff 48 8d

RSP: 0018:ffff88811fd9f068 EFLAGS: 00010206

RAX: dffffc0000000000 RBX: ffff88811fd9f258 RCX: 0000000000000001

RDX:

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.18, < 6.12.13 Affected

Frequently Asked Questions

What is CVE-2025-21729?

CVE-2025-21729 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-21729?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-21729?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-21729?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21729 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.