CVE-2021-47166

published 25 Mar 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0d0ea309357dea0d85a82815f02157eb7fcda39f, Kernel 2fe1cac336b55a1f79e603e9ce3552c3623e90eb, Kernel 40f139a6d50c232c0d1fd1c5e65a845c62db0ede and 5 more.

In the Linux kernel, the following vulnerability has been resolved: NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce() The value of mirror->pg_bytes_written should only be updated after a successful attempt to flush out the requests on the list.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.0, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <0d0ea309357dea0d85a82815f02157eb7fcda39f, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <2fe1cac336b55a1f79e603e9ce3552c3623e90eb, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <40f139a6d50c232c0d1fd1c5e65a845c62db0ede, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <7087db95c0a06ab201b8ebfac6a7ec1e34257997, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <785917316b25685c9b3a2a88f933139f2de75e33, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <b291baae24f876acd5a5dd57d0bb2bbac8a68b0c, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <c757c1f1e65d89429db1409429436cf40d47c008, >=a7d42ddb3099727f58366fa006f850a219cce6c8 <e8b8418ce14ae66ee55179901edd12191ab06a9e0d0ea309357dea0d85a82815f02157eb7fcda39f, 2fe1cac336b55a1f79e603e9ce3552c3623e90eb, 40f139a6d50c232c0d1fd1c5e65a845c62db0ede, 7087db95c0a06ab201b8ebfac6a7ec1e34257997, 785917316b25685c9b3a2a88f933139f2de75e33, b291baae24f876acd5a5dd57d0bb2bbac8a68b0c, c757c1f1e65d89429db1409429436cf40d47c008, e8b8418ce14ae66ee55179901edd12191ab06a9e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47166 severity on Zeptric[![CVE-2021-47166](https://zeptric.io/badge/cve/CVE-2021-47166.svg)](https://zeptric.io/cve/CVE-2021-47166)