Vulnerability · Published Mar 25, 2024 · Assigned by Linux

CVE-2021-47168NFS: fix an incorrect limit in filelayout_decode_layout()

Critical 9.8

In plain English

A critical-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.8%top 44.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.14.6-1DEBIAN-CVE-2021-47168
Debian:13linux5.14.6-1DEBIAN-CVE-2021-47168
Debian:14linux5.14.6-1DEBIAN-CVE-2021-47168
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-47168
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-47168
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-47168

Affected products (as reported)

VendorProductVersions
Linux Linux 16b374ca439fb406e46e071f75428f5b033056f8 – before 9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe04016b374ca439fb406e46e071f75428f5b033056f8 – before b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f116b374ca439fb406e46e071f75428f5b033056f8 – before f299522eda1566cbfbae4b15c82970fc41b0371416b374ca439fb406e46e071f75428f5b033056f8 – before 945ebef997227ca8c20bad7f8a8358c8ee57a84a16b374ca439fb406e46e071f75428f5b033056f8 – before e411df81cd862ef3d5b878120b2a2fef0ca9cdb116b374ca439fb406e46e071f75428f5b033056f8 – before 9b367fe770b1b80d7bf64ed0d177544a44405f6e16b374ca439fb406e46e071f75428f5b033056f8 – before d34fb628f6ef522f996205a9e578216bbee09e8416b374ca439fb406e46e071f75428f5b033056f8 – before 769b01ea68b6c49dc3cde6adf7e53927dacbd3a8
Linux Linux 2.6.37

References