CVE-2024-46697: nfsd: ensure that nfsd4_fattr_args.context is zeroed out
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto 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
Frequently Asked Questions
What is the severity of CVE-2024-46697?
CVE-2024-46697 is considered a moderate severity vulnerability affecting the Linux kernel.
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.
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.
What component of the Linux kernel is affected by CVE-2024-46697?
CVE-2024-46697 specifically affects the nfsd component of the Linux kernel.
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.