What’s Vulnerable › Vulnerabilities
CVE-2024-46697: nfsd: ensure that nfsd4_fattr_args.context is zeroed out
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-13 · updated 2026-08-04
- Weakness: CWE-665
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: ensure that nfsd4_fattr_args.context is zeroed out If nfsd4_encode_fattr4 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 products
- Linux kernel: from 6.7 before 6.10.8; 6.11-rc1, 6.11-rc2, 6.11-rc3, 6.11-rc4, 6.11-rc5 — fixed in 6.10.8
How to fix
Upgrade to a fixed version: Linux kernel 6.10.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/dd65b324174a64558a16ebbf4c3266e5701185d0
- https://git.kernel.org/stable/c/f58bab6fd4063913bd8321e99874b8239e9ba726
Get alerted when CVE-2024-46697 or the next vulnerability affects your stack