{"id":"CVE-2024-46697","summary":"nfsd: ensure that nfsd4_fattr_args.context is zeroed out","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: ensure that nfsd4_fattr_args.context is zeroed out\n\nIf nfsd4_encode_fattr4 ends up doing a \"goto out\" before we get to\nchecking for the security label, then args.context will be set to\nuninitialized junk on the stack, which we'll then try to free.\nInitialize it early.","modified":"2026-04-02T12:19:27.636474Z","published":"2024-09-13T05:29:24.787Z","related":["ALSA-2024:11486"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46697.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/dd65b324174a64558a16ebbf4c3266e5701185d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f58bab6fd4063913bd8321e99874b8239e9ba726"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46697.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46697"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f59388a579c6a395de8f7372b267d3abecd8d6bf"},{"fixed":"dd65b324174a64558a16ebbf4c3266e5701185d0"},{"fixed":"f58bab6fd4063913bd8321e99874b8239e9ba726"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46697.json"}}],"schema_version":"1.7.5"}