CVE-2025-71153

published 23 Jan 2026 · updated 17 Nov 2026

ksmbd: Fix memory leak in get_file_all_info()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5012b4c812230ae066902a00442708c999111183, Kernel 676907004256e0226c7ed3691db9f431404ca258, Kernel d026f47db68638521df8543535ef863814fb01b1 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=c8f7ad2df083c510e640c0bf76166593cc116ff2 <5012b4c812230ae066902a00442708c999111183, >=5614c8c487f6af627614dd2efca038e4afe0c6d7 <676907004256e0226c7ed3691db9f431404ca258, >=5614c8c487f6af627614dd2efca038e4afe0c6d7 <d026f47db68638521df8543535ef863814fb01b1, >=6.6.24 <6.6.120, >=6.7.12 <6.8, >=6.8.3 <6.9, =6.9, =88779f09295d82b86601fe42595748488bf5e20c, =f9278ba4967027ad2bf001694f0e489c7bbae6d5, >=5614c8c487f6af627614dd2efca038e4afe0c6d7 <0c56693b06a68476ba113db6347e7897475f9e4c5012b4c812230ae066902a00442708c999111183, 676907004256e0226c7ed3691db9f431404ca258, d026f47db68638521df8543535ef863814fb01b1, 6.6.120, 6.8, 6.9, 0c56693b06a68476ba113db6347e7897475f9e4c
linux-kernel: Kernel>=6.6.24 <6.6.120, >=6.7.12 <6.8, >=6.8.3 <6.9, >=6.9.0 <6.12.64, >=6.13.0 <6.18.46.6.120, 6.8, 6.9, 6.12.64, 6.18.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-71153 severity on Zeptric[![CVE-2025-71153](https://zeptric.io/badge/cve/CVE-2025-71153.svg)](https://zeptric.io/cve/CVE-2025-71153)