# uprobes: Reject the shared zeropage in uprobe_write_opcode()

CVE record · `CVE-2025-21881`

- **Identifiers:** `CVE-2025-21881`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Mar 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Mar 2025, 14:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `2b144498350860b6ee9dc57ff27a93ad488de5dc to before c4cb2bfa99513311886c1eb5c1c2ac26f3338a6e` (git)
  - affected: `2b144498350860b6ee9dc57ff27a93ad488de5dc to before 0b6f19714588cf2366b0364234f97ba963688f63` (git)
  - affected: `2b144498350860b6ee9dc57ff27a93ad488de5dc to before 13cca2b73e2b0ec3ea6d6615d615395621d22752` (git)
  - affected: `2b144498350860b6ee9dc57ff27a93ad488de5dc to before 54011fc94422f094eaf47555284de70a4bc32bb9` (git)
  - affected: `2b144498350860b6ee9dc57ff27a93ad488de5dc to before bddf10d26e6e5114e7415a0e442ec6f51a559468` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.5`
  - unaffected: `before 3.5` (semver)
  - unaffected: `6.1.130 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.81 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.18 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.6 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's uprobes code could mishandle the shared zero page when writing breakpoint opcodes, causing incorrect memory accounting and a kernel crash. The source gives few details on who can trigger it. Upgrade to 6.1.130, 6.6.81, 6.12.18, 6.13.6, or a later release in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Mar 2025, 14:57 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-21881)
- 27 Mar 2025, 15:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-21881)

## Sources

- [CVE List: CVE-2025-21881](https://www.cve.org/CVERecord?id=CVE-2025-21881)
- [NVD: CVE-2025-21881](https://nvd.nist.gov/vuln/detail/CVE-2025-21881)

### References from the CNA

- <https://git.kernel.org/stable/c/c4cb2bfa99513311886c1eb5c1c2ac26f3338a6e>
- <https://git.kernel.org/stable/c/0b6f19714588cf2366b0364234f97ba963688f63>
- <https://git.kernel.org/stable/c/13cca2b73e2b0ec3ea6d6615d615395621d22752>
- <https://git.kernel.org/stable/c/54011fc94422f094eaf47555284de70a4bc32bb9>
- <https://git.kernel.org/stable/c/bddf10d26e6e5114e7415a0e442ec6f51a559468>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-21881>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-21881/>. Everything for agents: <https://agentprime.io/llms.txt>.
