# nfsd: fix use-after-free due to delegation race

CVE record · `CVE-2021-47506`

- **Identifiers:** `CVE-2021-47506`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 24 May 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 24 May 2024, 15:01 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.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before 04a8d07f3d58308b92630045560799a3faa3ebce` (git)
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before 348714018139c39533c55661a0c7c990671396b4` (git)
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before 33645d3e22720cac1e4548f8fef57bf0649536ee` (git)
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before 2becaa990b93cbd2928292c0b669d3abb6cf06d4` (git)
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before e0759696de6851d7536efddfdd2dfed4c4df1f09` (git)
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before eeb0711801f5e19ef654371b627682aed3b11373` (git)
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before 148c816f10fd11df27ca6a9b3238cdd42fa72cd3` (git)
  - affected: `dff1399f8addf7129c49bb2227469da79cc30b47 to before 548ec0805c399c65ed66c6641be467f717833ab5` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.17`
  - unaffected: `before 3.17` (semver)
  - unaffected: `4.4.296 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.294 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.259 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.222 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.168 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.85 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.8 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

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

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

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

## Timeline

This record came from the full history of the CVE Program, published 24 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/04a8d07f3d58308b92630045560799a3faa3ebce>
- <https://git.kernel.org/stable/c/348714018139c39533c55661a0c7c990671396b4>
- <https://git.kernel.org/stable/c/33645d3e22720cac1e4548f8fef57bf0649536ee>
- <https://git.kernel.org/stable/c/2becaa990b93cbd2928292c0b669d3abb6cf06d4>
- <https://git.kernel.org/stable/c/e0759696de6851d7536efddfdd2dfed4c4df1f09>
- <https://git.kernel.org/stable/c/eeb0711801f5e19ef654371b627682aed3b11373>
- <https://git.kernel.org/stable/c/148c816f10fd11df27ca6a9b3238cdd42fa72cd3>
- <https://git.kernel.org/stable/c/548ec0805c399c65ed66c6641be467f717833ab5>

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

---

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