CVE-2021-47166
kernel: NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 25, 2024
Updated · November 21, 2025
Description
A vulnerability was found in the NFS module in the Linux kernel where a memory corruption occurred in pg_bytes_written in the nfs_do_recoalesce() function. The value was updated before successfully flushing requests, potentially leading to incorrect accounting of written bytes.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-99 · Improper Control of Resource Identifiers ('Resource Injection')