{"id":"CVE-2024-46801","summary":"libfs: fix get_stashed_dentry()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibfs: fix get_stashed_dentry()\n\nget_stashed_dentry() tries to optimistically retrieve a stashed dentry\nfrom a provided location.  It needs to ensure to hold rcu lock before it\ndereference the stashed location to prevent UAF issues.  Use\nrcu_dereference() instead of READ_ONCE() it's effectively equivalent\nwith some lockdep bells and whistles and it communicates clearly that\nthis expects rcu protection.","modified":"2026-04-02T12:19:42.035962Z","published":"2024-09-18T07:12:55.150Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46801.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03e2a1209a83a380df34a72f7d6d1bc6c74132c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e32c25b58b945f976435bbe51f39b32d714052e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46801.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46801"},{"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":"07fd7c329839cf0b8c7766883d830a1a0d12d1dd"},{"fixed":"03e2a1209a83a380df34a72f7d6d1bc6c74132c7"},{"fixed":"4e32c25b58b945f976435bbe51f39b32d714052e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46801.json"}}],"schema_version":"1.7.5"}