CVE-2021-47168

Medium

In the Linux kernel, the following vulnerability has been resolved: NFS: fix an incorrect limit in filelayout_decode_layout() The "sizeof(struct nfs_fh)" is two bytes too large and could lead to memory corruption. It should be NFS_MAXFHSIZE because that's the size of the ->data[] buffer. I reversed the size of the arguments to put the variable on the left.

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-47168 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 2.6.37 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
≥ 2.6.37
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-47168?

    CVE-2021-47168 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 2.6.37 onward and has been patched in 4.4.271, 4.9.271, 4.14.235 and others. CVE-2021-47168 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

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

    CVE-2021-47168 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-47168?

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

  • Is CVE-2021-47168 actively exploited?

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