What’s Vulnerable › Vulnerabilities

CVE-2024-46736: smb: client: fix double put of @cfile in smb2_rename_path()

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

How to fix

Upgrade to a fixed version: Linux kernel 6.10.10, 6.6.51. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-46736 or the next vulnerability affects your stack