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-21942

5.5 · MEDIUM
Published Apr 1, 2025 linux CWE-835 EPSS 0.20% (10th pctl)

Overview

CVE-2025-21942 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

btrfs: zoned: fix extent range end unlock in cow_file_range()

Running generic/751 on the for-next branch often results in a hang like

below. They are both stack by locking an extent. This suggests someone

forget to unlock an extent.

INFO: task kworker/u128:1:12 blocked for more than 323 seconds.

Not tainted 6.13.0-BTRFS-ZNS+ #503

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

task:kworker/u128:1 state:D stack:0 pid:12 tgid:12 ppid:2 flags:0x00004000

Workqueue: btrfs-fixup btrfs_work_helper [btrfs]

Call Trace:

<TASK>

__schedule+0x534/0xdd0

schedule+0x39/0x140

__lock_extent+0x31b/0x380 [btrfs]

? __pfx_autoremove_wake_function+0x10/0x10

btrfs_writepage_fixup_worker+0xf1/0x3a0 [btrfs]

btrfs_work_helper+0xff/0x480 [btrfs]

? lock_release+0x178/0x2c0

process_one_work+0x1ee/0x570

? srso_return_thunk+0x5/0x5f

worker_thread+0x1d1/0x3

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 >= 6.13.2, < 6.13.7 Affected

Frequently Asked Questions

What is CVE-2025-21942?

CVE-2025-21942 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-21942?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-21942?

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-21942?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21942 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.