NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
Published Mar 25, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.24%
Description
The value of mirror->pg_bytes_written should only be updated after a successful attempt to flush out the requests on the list.
Affected products
-
- Version a7d42ddb3099StatusaffectedConstraints<0d0ea309357d
- Version a7d42ddb3099StatusaffectedConstraints<2fe1cac336b5
- Version a7d42ddb3099StatusaffectedConstraints<40f139a6d50c
- Version a7d42ddb3099StatusaffectedConstraints<7087db95c0a0
- Version a7d42ddb3099StatusaffectedConstraints<785917316b25
- Version a7d42ddb3099StatusaffectedConstraints<b291baae24f8
- Version a7d42ddb3099StatusaffectedConstraints<c757c1f1e65d
- Version a7d42ddb3099StatusaffectedConstraints<e8b8418ce14a
- Version
-
- Version 4.0StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.0
- Version 4.14.235StatusunaffectedConstraints<=4.14.*
- Version 4.19.193StatusunaffectedConstraints<=4.19.*
- Version 4.4.271StatusunaffectedConstraints<=4.4.*
- Version 4.9.271StatusunaffectedConstraints<=4.9.*
- Version 5.10.42StatusunaffectedConstraints<=5.10.*
- Version 5.12.9StatusunaffectedConstraints<=5.12.*
- Version 5.13StatusunaffectedConstraints<=*
- Version 5.4.124StatusunaffectedConstraints<=5.4.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 4.0 · < 4.4.271
- ≥ 4.5 · < 4.9.271
- ≥ 4.10 · < 4.14.235
- ≥ 4.15 · < 4.19.193
- ≥ 4.20 · < 5.4.124
- ≥ 5.5 · < 5.10.42
- ≥ 5.11 · < 5.12.9
- 5.13
- 5.13
- 5.13
No data.
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
References (13)
- https://access.redhat.com/security/cve/CVE-2021-47166 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2271443 Issue Tracking
- https://git.kernel.org/stable/c/0d0ea309357dea0d85a82815f02157eb7fcda39f Patch
- https://git.kernel.org/stable/c/2fe1cac336b55a1f79e603e9ce3552c3623e90eb Patch
- https://git.kernel.org/stable/c/40f139a6d50c232c0d1fd1c5e65a845c62db0ede Patch
- https://git.kernel.org/stable/c/7087db95c0a06ab201b8ebfac6a7ec1e34257997 Patch
- https://git.kernel.org/stable/c/785917316b25685c9b3a2a88f933139f2de75e33 Patch
- https://git.kernel.org/stable/c/b291baae24f876acd5a5dd57d0bb2bbac8a68b0c Patch
- https://git.kernel.org/stable/c/c757c1f1e65d89429db1409429436cf40d47c008 Patch
- https://git.kernel.org/stable/c/e8b8418ce14ae66ee55179901edd12191ab06a9e Patch
- https://lore.kernel.org/linux-cve-announce/2024032535-CVE-2021-47166-6ab7@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2021-47166
- https://www.cve.org/CVERecord?id=CVE-2021-47166
Change history (0)
No recorded changes yet.