CVE-2024-46736

published 18 Sep 2024 · updated 17 Nov 2026

smb: client: fix double put of @cfile in smb2_rename_path()

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel b27ea9c96efd2c252a981fb00d0f001b86c90f3e, Kernel 1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3, Kernel 3523a3df03c6f04f7ea9c2e7050102657e331a4f and 2 more.

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=1e60bc0e954389af82f1d9a85f13a63f6572350f <b27ea9c96efd2c252a981fb00d0f001b86c90f3e, >=71f15c90e785d1de4bcd65a279e7256684c25c0d <1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3, >=71f15c90e785d1de4bcd65a279e7256684c25c0d <3523a3df03c6f04f7ea9c2e7050102657e331a4f, =6.9, >=6.6.32 <6.6.51b27ea9c96efd2c252a981fb00d0f001b86c90f3e, 1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3, 3523a3df03c6f04f7ea9c2e7050102657e331a4f, 6.6.51
linux-kernel: Kernel>=6.9.0 <6.10.10, >=6.6.32 <6.6.516.10.10, 6.6.51

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-46736 severity on Zeptric[![CVE-2024-46736](https://zeptric.io/badge/cve/CVE-2024-46736.svg)](https://zeptric.io/cve/CVE-2024-46736)