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

Published Mar 25, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

NFS: fix an incorrect limit in filelayoutdecodelayout()

The "sizeof(struct nfsfh)" is two bytes too large and could lead to memory corruption. It should be NFSMAXFHSIZE because that's the size of the ->data[] buffer.

I reversed the size of the arguments to put the variable on the left.

Affected Software

11 affected components
Linux Linux kernel
Linux Linux kernel>=2.6.37<4.4.271
Linux Linux kernel>=4.5<4.9.271
Linux Linux kernel>=4.10<4.14.235
Linux Linux kernel>=4.15<4.19.193
Linux Linux kernel>=4.20<5.4.124
Linux Linux kernel>=5.5<5.10.42
Linux Linux kernel>=5.11<5.12.9
Linux Linux kernel=5.13-rc1
Linux Linux kernel=5.13-rc2
Linux Linux kernel=5.13-rc3

Event History

Mar 25, 2024
CVE Published
via MITRE·09:16 AM
Data Sourced
via MITRE·09:16 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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().

3

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.

4

What type of vulnerability is CVE-2021-47168?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203