CVE-2025-71153
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2026-01-23

Last updated on: 2026-02-26

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-23
Last Modified
2026-02-26
Generated
2026-06-16
AI Q&A
2026-01-23
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 7 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.7.12 (inc) to 6.8 (exc)
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel From 6.13 (inc) to 6.18.4 (exc)
linux linux_kernel From 6.6.24 (inc) to 6.6.120 (exc)
linux linux_kernel From 6.8.3 (inc) to 6.12.64 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Mitigation Strategies

To mitigate this vulnerability, update the Linux kernel to a version where the ksmbd get_file_all_info() memory leak has been fixed. This involves applying the patch that frees the allocated filename when vfs_getattr() fails. Until the update is applied, monitor for unusual memory usage in ksmbd processes as a precaution.

Executive Summary

This vulnerability is a memory leak in the Linux kernel's ksmbd component within the get_file_all_info() function. Specifically, if the vfs_getattr() call fails, the function returns immediately without freeing the allocated filename memory, causing a memory leak. The fix involves freeing the filename before returning in this error case.

Impact Analysis

The memory leak caused by this vulnerability can lead to increased memory usage over time, potentially degrading system performance or causing resource exhaustion if exploited repeatedly. This could affect system stability and reliability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71153. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart