{"id":"CVE-2025-71153","published":"2026-01-23T14:25:52Z","modified":"2026-05-23T16:03:27Z","title":"ksmbd: Fix memory leak in get_file_all_info()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: Fix memory leak in get_file_all_info()\n\nIn get_file_all_info(), if vfs_getattr() fails, the function returns\nimmediately without freeing the allocated filename, leading to a memory\nleak.\n\nFix this by freeing the filename before returning in this error case.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.002,"percentile":0.05625,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5012b4c812230ae066902a00442708c999111183","tags":[]},{"url":"https://git.kernel.org/stable/c/676907004256e0226c7ed3691db9f431404ca258","tags":[]},{"url":"https://git.kernel.org/stable/c/d026f47db68638521df8543535ef863814fb01b1","tags":[]},{"url":"https://git.kernel.org/stable/c/0c56693b06a68476ba113db6347e7897475f9e4c","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.12}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c8f7ad2df083c510e640c0bf76166593cc116ff2, < 5012b4c812230ae066902a00442708c999111183",">= 5614c8c487f6af627614dd2efca038e4afe0c6d7, < 676907004256e0226c7ed3691db9f431404ca258",">= 5614c8c487f6af627614dd2efca038e4afe0c6d7, < d026f47db68638521df8543535ef863814fb01b1",">= 5614c8c487f6af627614dd2efca038e4afe0c6d7, < 0c56693b06a68476ba113db6347e7897475f9e4c","f9278ba4967027ad2bf001694f0e489c7bbae6d5","88779f09295d82b86601fe42595748488bf5e20c",">= 6.6.24, < 6.6.120",">= 6.7.12, < 6.8",">= 6.8.3, < 6.9"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"euvd":{"id":"EUVD-2026-4390","exploited":false,"provenance":"source"}}