CWE
787
Advisory Published
Updated

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

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-47168?

    CVE-2021-47168 has been classified as a medium severity vulnerability due to the potential for memory corruption.

  • How do I fix CVE-2021-47168?

    To fix CVE-2021-47168, update the Linux kernel to a version that includes the patch addressing the incorrect limit in filelayout_decode_layout().

  • What systems are affected by CVE-2021-47168?

    CVE-2021-47168 affects multiple versions of the Linux kernel, specifically versions between 2.6.37 and up to 5.13-rc3.

  • What type of vulnerability is CVE-2021-47168?

    CVE-2021-47168 is a memory corruption vulnerability within the NFS subsystem of the Linux kernel.

  • What are the risks of CVE-2021-47168?

    The risks associated with CVE-2021-47168 include potential crashes or unauthorized access to sensitive data due to memory corruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203