NetSight
medium5.5

CVE-2025-71153

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() fail…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 6.6.24 before 6.6.120
from 6.7.12 before 6.8
from 6.8.3 before 6.12.64
from 6.13 before 6.18.4
Version 6.19

Weakness classification

References