CVE-2024-46697: nfsd: ensure that nfsd4_fattr_args.context is zeroed out

Published Sep 13, 2024
·
Updated

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

nfsd: ensure that nfsd4fattrargs.context is zeroed out

If nfsd4encodefattr4 ends up doing a "goto out" before we get to checking for the security label, then args.context will be set to uninitialized junk on the stack, which we'll then try to free. Initialize it early.

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=6.7<6.10.8
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
Linux Linux kernel=6.11-rc4
Linux Linux kernel=6.11-rc5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Sep 13, 2024
CVE Published
via MITRE·05:29 AM
Data Sourced
via MITRE·05:29 AM
DescriptionSeverity
Data Sourced
via NVD·06:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:30 AM
DescriptionSeverityAffected Software
Jan 9, 2025
Data Sourced
via Ubuntu·06:31 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46697?

CVE-2024-46697 is considered a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-46697?

To fix CVE-2024-46697, you should upgrade to the latest patched version of the Linux kernel, specifically 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, or 6.12.11-1.

3

Which versions of the Linux kernel are affected by CVE-2024-46697?

CVE-2024-46697 affects Linux kernel versions between 6.7 and 6.10.8, and the 6.11 release candidate versions.

4

What component of the Linux kernel is affected by CVE-2024-46697?

CVE-2024-46697 specifically affects the nfsd component of the Linux kernel.

5

What are the implications of CVE-2024-46697 if left unpatched?

If left unpatched, CVE-2024-46697 could lead to information leakage due to the use of uninitialized memory in the nfsd component.

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