CVE-2021-47168CWE-787

CVE-2021-47168

Critical · published March 25, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
55.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00766 · 55.0th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-03-25T14:15Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.37, < 4.4.2714.4.271
linux/linux_kernel≥ 4.5, < 4.9.2714.9.271
linux/linux_kernel≥ 4.10, < 4.14.2354.14.235
linux/linux_kernel≥ 4.15, < 4.19.1934.19.193
linux/linux_kernel≥ 4.20, < 5.4.1245.4.124
linux/linux_kernel≥ 5.5, < 5.10.425.10.42
linux/linux_kernel≥ 5.11, < 5.12.95.12.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (16)
https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714 · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 25 MAR 09:16Z
    NFS: fix an incorrect limit in filelayout_decode_layout()
    cvelistv5