First published: Mon Mar 25 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=2.6.37<4.4.271 | |
Linux Kernel | >=4.5<4.9.271 | |
Linux Kernel | >=4.10<4.14.235 | |
Linux Kernel | >=4.15<4.19.193 | |
Linux Kernel | >=4.20<5.4.124 | |
Linux Kernel | >=5.5<5.10.42 | |
Linux Kernel | >=5.11<5.12.9 | |
Linux Kernel | =5.13-rc1 | |
Linux Kernel | =5.13-rc2 | |
Linux Kernel | =5.13-rc3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-47168 has been classified as a medium severity vulnerability due to the potential for memory corruption.
To fix CVE-2021-47168, update the Linux kernel to a version that includes the patch addressing the incorrect limit in filelayout_decode_layout().
CVE-2021-47168 affects multiple versions of the Linux kernel, specifically versions between 2.6.37 and up to 5.13-rc3.
CVE-2021-47168 is a memory corruption vulnerability within the NFS subsystem of the Linux kernel.
The risks associated with CVE-2021-47168 include potential crashes or unauthorized access to sensitive data due to memory corruption.