CVE-2021-47166

Medium

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.

Package Linux Kernel
Published 2024-03-25
Last modified 2025-03-17
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-787

CVE-2021-47166 is a Out-of-bounds Write vulnerability

What is Out-of-bounds Write?

The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.0 and later are affected. Fixed in 4.4.271, 4.9.271, 4.14.235, 4.19.193, 5.4.124, 5.10.42, 5.12.9, 5.13 and their respective stable series.

Affected from
≥ 4.0
Fixed in
✓ 4.4.271 4.4.x ✓ 4.9.271 4.9.x ✓ 4.14.235 4.14.x ✓ 4.19.193 4.19.x ✓ 5.4.124 5.4.x ✓ 5.10.42 5.10.x ✓ 5.12.9 5.12.x ✓ 5.13

Frequently asked questions

  • What is CVE-2021-47166?

    CVE-2021-47166 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 4.0 onward and has been patched in 4.4.271, 4.9.271, 4.14.235 and others. CVE-2021-47166 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-47166?

    CVE-2021-47166 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2021-47166?

    Yes. CVE-2021-47166 has been patched. Fixed versions include 4.4.271, 4.9.271, 4.14.235 and others. If you are running Linux kernel 4.0 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-47166 actively exploited?

    No. CVE-2021-47166 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.