{"id":"CVE-2024-46736","summary":"smb: client: fix double put of @cfile in smb2_rename_path()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix double put of @cfile in smb2_rename_path()\n\nIf smb2_set_path_attr() is called with a valid @cfile and returned\n-EINVAL, we need to call cifs_get_writable_path() again as the\nreference of @cfile was already dropped by previous smb2_compound_op()\ncall.","modified":"2026-04-16T04:34:37.209213653Z","published":"2024-09-18T07:11:58.499Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46736.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3523a3df03c6f04f7ea9c2e7050102657e331a4f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b27ea9c96efd2c252a981fb00d0f001b86c90f3e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46736.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46736"},{"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":"1e60bc0e954389af82f1d9a85f13a63f6572350f"},{"fixed":"b27ea9c96efd2c252a981fb00d0f001b86c90f3e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"71f15c90e785d1de4bcd65a279e7256684c25c0d"},{"fixed":"1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3"},{"fixed":"3523a3df03c6f04f7ea9c2e7050102657e331a4f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46736.json"}}],"schema_version":"1.7.5"}