CVE-2021-47166
NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
MEDIUM 5.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
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.
Weaknesses (CWE)
- CWE-787 — Out-of-bounds Write
References
- https://git.kernel.org/stable/c/e8b8418ce14ae66ee55179901edd12191ab06a9e
- https://git.kernel.org/stable/c/b291baae24f876acd5a5dd57d0bb2bbac8a68b0c
- https://git.kernel.org/stable/c/c757c1f1e65d89429db1409429436cf40d47c008
- https://git.kernel.org/stable/c/40f139a6d50c232c0d1fd1c5e65a845c62db0ede
- https://git.kernel.org/stable/c/785917316b25685c9b3a2a88f933139f2de75e33
- https://git.kernel.org/stable/c/7087db95c0a06ab201b8ebfac6a7ec1e34257997
- https://git.kernel.org/stable/c/2fe1cac336b55a1f79e603e9ce3552c3623e90eb
- https://git.kernel.org/stable/c/0d0ea309357dea0d85a82815f02157eb7fcda39f
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-33814
- GCVE · GCVE-0-2021-47166
CERT-FR advisories
- CERTFR-2024-AVI-0458 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0440 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0420 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0363 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.0 < 4.4.271cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.5 < 4.9.271cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.10 < 4.14.235cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.193cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.124cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.42cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.12.9cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected a7d42ddb3099727f58366fa006f850a219cce6c8 < e8b8418ce14ae66ee55179901edd12191ab06a9e ; affected a7d42ddb3099727f58366fa006f850a219cce6c8 < b291baae24f876acd5a5dd57d0bb2bbac8a68b0c ; affected a7d42ddb3099727f58366fa006f850a219cce6c8 < c757c1f1e65d89429db1409429436cf40d47c008 ; affected a7d42ddb3099727f58366fa006f850a219cce6c8 < 40f139a6d50c232c0d1fd1c5e65a845c62db0ede ; affected a7d42ddb3099727f58366fa006f850a219cce6c8 < 785917316b25685c9b3a2a88f933139f2de75e33 ; affected a7d42ddb3099727f58366fa006f850a219cce6c8 < 7087db95c0a06ab201b8ebfac6a7ec1e34257997 |
| Linux · Linux | affected 4.0 ; unaffected 0 < 4.0 ; unaffected 4.4.271 ≤ 4.4.* ; unaffected 4.9.271 ≤ 4.9.* ; unaffected 4.14.235 ≤ 4.14.* ; unaffected 4.19.193 ≤ 4.19.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |