What’s Vulnerable › Vulnerabilities
CVE-2024-46736: smb: client: fix double put of @cfile in smb2_rename_path()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-18 · updated 2026-08-04
- Weakness: CWE-415
Description
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 products
- Linux kernel: from 6.6.32 before 6.6.51; from 6.9 before 6.10.10; 6.11-rc1, 6.11-rc2, 6.11-rc3, 6.11-rc4, 6.11-rc5, 6.11-rc6 — fixed in 6.10.10, 6.6.51
How to fix
Upgrade to a fixed version: Linux kernel 6.10.10, 6.6.51. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3
- https://git.kernel.org/stable/c/3523a3df03c6f04f7ea9c2e7050102657e331a4f
- https://git.kernel.org/stable/c/b27ea9c96efd2c252a981fb00d0f001b86c90f3e
Get alerted when CVE-2024-46736 or the next vulnerability affects your stack