CVE-2025-71153

ksmbd: Fix memory leak in get_file_all_info()

published January 23, 2026

CVSS
—
EPSS
0%
Percentile
2.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00136 · 2.8th percentile
Published
2026-01-23T14:25Z
EPSS history
Timeline
  • 23 JAN 14:25Z
    ksmbd: Fix memory leak in get_file_all_info()
    cvelistv5