# NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()

CVE record · `CVE-2021-47166`

- **Identifiers:** `CVE-2021-47166`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Mar 2024
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Mar 2024, 09:16 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: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before e8b8418ce14ae66ee55179901edd12191ab06a9e` (git)
  - affected: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before b291baae24f876acd5a5dd57d0bb2bbac8a68b0c` (git)
  - affected: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before c757c1f1e65d89429db1409429436cf40d47c008` (git)
  - affected: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before 40f139a6d50c232c0d1fd1c5e65a845c62db0ede` (git)
  - affected: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before 785917316b25685c9b3a2a88f933139f2de75e33` (git)
  - affected: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before 7087db95c0a06ab201b8ebfac6a7ec1e34257997` (git)
  - affected: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before 2fe1cac336b55a1f79e603e9ce3552c3623e90eb` (git)
  - affected: `a7d42ddb3099727f58366fa006f850a219cce6c8 to before 0d0ea309357dea0d85a82815f02157eb7fcda39f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.0`
  - unaffected: `before 4.0` (semver)
  - unaffected: `4.4.271 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.271 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.235 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.193 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.124 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.42 to 5.10.*, inclusive` (semver)
  - unaffected: `5.12.9 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th percentile, on 21 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 25 Mar 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/e8b8418ce14ae66ee55179901edd12191ab06a9e>
- <https://git.kernel.org/stable/c/b291baae24f876acd5a5dd57d0bb2bbac8a68b0c>
- <https://git.kernel.org/stable/c/c757c1f1e65d89429db1409429436cf40d47c008>
- <https://git.kernel.org/stable/c/40f139a6d50c232c0d1fd1c5e65a845c62db0ede>
- <https://git.kernel.org/stable/c/785917316b25685c9b3a2a88f933139f2de75e33>
- <https://git.kernel.org/stable/c/7087db95c0a06ab201b8ebfac6a7ec1e34257997>
- <https://git.kernel.org/stable/c/2fe1cac336b55a1f79e603e9ce3552c3623e90eb>
- <https://git.kernel.org/stable/c/0d0ea309357dea0d85a82815f02157eb7fcda39f>

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

---

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