# CVE-2021-47167: NFS: Fix an Oopsable condition in __nfs_pageio_add_request()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-03-25T09:16:19.952Z
- Modified: 2026-06-17T04:16:48.933Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

NFS: Fix an Oopsable condition in __nfs_pageio_add_request()

Ensure that nfs_pageio_error_cleanup() resets the mirror array contents,
so that the structure reflects the fact that it is now empty.
Also change the test in nfs_pageio_do_add_request() to be more robust by
checking whether or not the list is empty rather than relying on the
value of pg_count.

(As written by CVE List.)

## Affected

- Linux Linux: from a7d42ddb3099727f58366fa006f850a219cce6c8 before 1fc5f4eb9d31268ac3ce152d74ad5501ad24ca3e; from a7d42ddb3099727f58366fa006f850a219cce6c8 before ee21cd3aa8548e0cbc8c67a80b62113aedd2d101; from a7d42ddb3099727f58366fa006f850a219cce6c8 before 15ac6f14787649e8ebd75c142e2c5d2a243c8490; from a7d42ddb3099727f58366fa006f850a219cce6c8 before 56517ab958b7c11030e626250c00b9b1a24b41eb; 4.0 (not affected: before 4.0; from 5.4.124 up to 5.4.*; from 5.10.42 up to 5.10.*; from 5.12.9 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 4.0 before 5.4.124; from 5.5 before 5.10.42; from 5.11 before 5.12.9; 5.13

## References

- <https://git.kernel.org/stable/c/1fc5f4eb9d31268ac3ce152d74ad5501ad24ca3e> (patch)
- <https://git.kernel.org/stable/c/ee21cd3aa8548e0cbc8c67a80b62113aedd2d101> (patch)
- <https://git.kernel.org/stable/c/15ac6f14787649e8ebd75c142e2c5d2a243c8490> (patch)
- <https://git.kernel.org/stable/c/56517ab958b7c11030e626250c00b9b1a24b41eb> (patch)

## Sources

- CVE List: [CVE-2021-47167](https://www.cve.org/CVERecord?id=CVE-2021-47167), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47167](https://nvd.nist.gov/vuln/detail/CVE-2021-47167), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47167 · Whole record: https://cve.day/CVE-2021-47167.json · Rebuilt by cve.day 2026-11-25T22:58:08.695Z
