Skip to main content
← All vulnerabilities
CVE-2025-71153

ksmbd: Fix memory leak in get_file_all_info()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.120, 6.8, 6.9
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.6.24 · fixed in 6.6.120; From 6.7.12 · fixed in 6.8; From 6.8.3 · fixed in 6.9

  • Linux Linux

    6.9

References 4

git.kernel.org