# ndisc: use RCU protection in ndisc_alloc_skb()

CVE record · `CVE-2025-21764`

- **Identifiers:** `CVE-2025-21764`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Feb 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Feb 2025, 02:18 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: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before 96fc896d0e5b37c12808df797397fb16f3080879` (git)
  - affected: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before c30893ef3d9cde8e7e8e4fd06b53d2c935bbccb1` (git)
  - affected: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before b870256dd2a5648d5ed2f22316b3ac29a7e5ed63` (git)
  - affected: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before 3c2d705f5adf5d860aaef90cb4211c0fde2ba66d` (git)
  - affected: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before 9e0ec817eb41a55327a46cd3ce331a9868d60304` (git)
  - affected: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before bbec88e4108e8d6fb468d3817fa652140a44ff28` (git)
  - affected: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before cd1065f92eb7ff21b9ba5308a86f33d1670bf926` (git)
  - affected: `de09334b9326632bbf1a74bfd8b01866cbbf2f61 to before 628e6d18930bbd21f2d4562228afe27694f66da9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.9`
  - unaffected: `before 3.9` (semver)
  - unaffected: `5.4.291 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.79 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.16 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.4 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.

> Linux kernel versions from 3.9 up to the fixed releases are affected. The ndisc_alloc_skb() function can be called without RTNL or RCU held, which risks a use-after-free; the source gives few details on attacker requirements. Upgrade to 5.4.291, 5.10.235, 5.15.179, 6.1.129, or a later release in those series.

Written 19 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

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

## Timeline

- 27 Feb 2025, 02:18 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-21764)
- 27 Feb 2025, 03:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-21764)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/96fc896d0e5b37c12808df797397fb16f3080879>
- <https://git.kernel.org/stable/c/c30893ef3d9cde8e7e8e4fd06b53d2c935bbccb1>
- <https://git.kernel.org/stable/c/b870256dd2a5648d5ed2f22316b3ac29a7e5ed63>
- <https://git.kernel.org/stable/c/3c2d705f5adf5d860aaef90cb4211c0fde2ba66d>
- <https://git.kernel.org/stable/c/9e0ec817eb41a55327a46cd3ce331a9868d60304>
- <https://git.kernel.org/stable/c/bbec88e4108e8d6fb468d3817fa652140a44ff28>
- <https://git.kernel.org/stable/c/cd1065f92eb7ff21b9ba5308a86f33d1670bf926>
- <https://git.kernel.org/stable/c/628e6d18930bbd21f2d4562228afe27694f66da9>

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-21764>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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