What’s Vulnerable › Vulnerabilities
CVE-2021-47167: NFS: Fix an Oopsable condition in __nfs_pageio_add_request()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-25 · updated 2026-06-17
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.
Affected products
- 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-rc1, 5.13-rc2, 5.13-rc3 — fixed in 5.10.42, 5.12.9, 5.4.124
How to fix
Upgrade to a fixed version: Linux kernel 5.10.42, 5.12.9, 5.4.124. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/15ac6f14787649e8ebd75c142e2c5d2a243c8490
- https://git.kernel.org/stable/c/1fc5f4eb9d31268ac3ce152d74ad5501ad24ca3e
- https://git.kernel.org/stable/c/56517ab958b7c11030e626250c00b9b1a24b41eb
- https://git.kernel.org/stable/c/ee21cd3aa8548e0cbc8c67a80b62113aedd2d101
- https://git.kernel.org/stable/c/15ac6f14787649e8ebd75c142e2c5d2a243c8490
- https://git.kernel.org/stable/c/1fc5f4eb9d31268ac3ce152d74ad5501ad24ca3e
- https://git.kernel.org/stable/c/56517ab958b7c11030e626250c00b9b1a24b41eb
- https://git.kernel.org/stable/c/ee21cd3aa8548e0cbc8c67a80b62113aedd2d101
Get alerted when CVE-2021-47167 or the next vulnerability affects your stack