CVE-2025-71153

MEDIUM

Linux Kernel < 6.6.120, 6.7.0-6.12.64, 6.9.0-6.18.4 - Use-After-Free in ksmbd get_file_all_info()

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0011
EPSS Percentile 1.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (20)
linux/Kernel < 6.6.120linux
linux/Kernel 6.7.0 - 6.12.64linux
linux/Kernel 6.9.0 - 6.18.4linux
Linux/Linux < 6.9
Linux/Linux 5614c8c487f6af627614dd2efca038e4afe0c6d7 - 0c56693b06a68476ba113db6347e7897475f9e4c
Linux/Linux 5614c8c487f6af627614dd2efca038e4afe0c6d7 - 676907004256e0226c7ed3691db9f431404ca258
Linux/Linux 5614c8c487f6af627614dd2efca038e4afe0c6d7 - d026f47db68638521df8543535ef863814fb01b1
Linux/Linux 6.12.64 - 6.12.*
Linux/Linux 6.18.4 - 6.18.*
Linux/Linux 6.19
... and 10 more
Published Jan 23, 2026
Tracked Since Feb 18, 2026