What’s Vulnerable › Vulnerabilities

CVE-2025-71153: ksmbd: Fix memory leak in get_file_all_info()

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix memory leak in get_file_all_info() In get_file_all_info(), if vfs_getattr() fails, the function returns immediately without freeing the allocated filename, leading to a memory leak. Fix this by freeing the filename before returning in this error case.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.64, 6.18.4, 6.6.120, 6.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71153 or the next vulnerability affects your stack