Buffer overflow in Linux

CVE-2021-47168

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.

Vulnerability class: Buffer Overflow

EPSS: 0.002 (15.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-47168?
CVE-2021-47168 is a critical-severity vulnerability in Linux, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2024-03-25.
How severe is CVE-2021-47168?
Critical severity. CVSS v3 base score is 9.8 out of 10.