{"id":"CVE-2024-50241","summary":"NFSD: Initialize struct nfsd4_copy earlier","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Initialize struct nfsd4_copy earlier\n\nEnsure the refcount and async_copies fields are initialized early.\ncleanup_async_copy() will reference these fields if an error occurs\nin nfsd4_copy(). If they are not correctly initialized, at the very\nleast, a refcount underflow occurs.","modified":"2026-03-20T12:38:15.644149Z","published":"2024-11-09T10:14:51.119Z","related":["openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50241.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/059434d23c4578d9d02efb92d848ea21bc640112"},{"type":"WEB","url":"https://git.kernel.org/stable/c/421f1a2a1afb47d88de09457ef7687e1df7bc997"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63fab04cbd0f96191b6e5beedc3b643b01c15889"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7267625baf365a969f1b25ded6f07b64bc90ec5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3074003fa6837c2b89a34d8d12d9463b59d22d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50241.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50241"},{"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":"9e52ff544e0bfa09ee339fd7b0937ee3c080c24e"},{"fixed":"059434d23c4578d9d02efb92d848ea21bc640112"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"43e46ee5efc03990b223f7aa8b77aa9c3d3acfdf"},{"fixed":"7267625baf365a969f1b25ded6f07b64bc90ec5b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7ea9260874b779637aff6d24c344b8ef4ac862a0"},{"fixed":"c3074003fa6837c2b89a34d8d12d9463b59d22d6"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ae267989b7b7933dfedcd26468d0a88fc3a9da9e"},{"fixed":"421f1a2a1afb47d88de09457ef7687e1df7bc997"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6a488ad7745b8f64625c6d3a24ce7e448e83f11b"},{"fixed":"e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"aadc3bbea163b6caaaebfdd2b6c4667fbc726752"},{"fixed":"63fab04cbd0f96191b6e5beedc3b643b01c15889"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"b4e21431a0db4854b5023cd5af001be557e6c3db"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50241.json"}}],"schema_version":"1.7.5"}