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

5.5 · MEDIUM
Published Mar 27, 2025 linux EPSS 0.20% (10th pctl)

Overview

CVE-2025-21881 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 27, 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:

uprobes: Reject the shared zeropage in uprobe_write_opcode()

We triggered the following crash in syzkaller tests:

BUG: Bad page state in process syz.7.38 pfn:1eff3

page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1eff3

flags: 0x3fffff00004004(referenced|reserved|node=0|zone=1|lastcpupid=0x1fffff)

raw: 003fffff00004004 ffffe6c6c07bfcc8 ffffe6c6c07bfcc8 0000000000000000

raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000

page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014

Call Trace:

<TASK>

dump_stack_lvl+0x32/0x50

bad_page+0x69/0xf0

free_unref_page_prepare+0x401/0x500

free_unref_page+0x6d/0x1b0

uprobe_write_opcode+0x460/0x8e0

install_breakpoint.part.0+0x51/0x80

register_for_each_vma+0x1d9/0x2b0

__uprobe_register+0x245/0x300

bpf_uprobe_mu

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 >= 3.5, < 6.1.130 Affected

Frequently Asked Questions

What is CVE-2025-21881?

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

How severe is CVE-2025-21881?

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

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

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