{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71153","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-01-13T15:30:19.662Z","datePublished":"2026-01-23T14:25:52.988Z","dateUpdated":"2026-05-11T21:55:59.171Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:55:59.171Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smb2pdu.c"],"versions":[{"version":"c8f7ad2df083c510e640c0bf76166593cc116ff2","lessThan":"5012b4c812230ae066902a00442708c999111183","status":"affected","versionType":"git"},{"version":"5614c8c487f6af627614dd2efca038e4afe0c6d7","lessThan":"676907004256e0226c7ed3691db9f431404ca258","status":"affected","versionType":"git"},{"version":"5614c8c487f6af627614dd2efca038e4afe0c6d7","lessThan":"d026f47db68638521df8543535ef863814fb01b1","status":"affected","versionType":"git"},{"version":"5614c8c487f6af627614dd2efca038e4afe0c6d7","lessThan":"0c56693b06a68476ba113db6347e7897475f9e4c","status":"affected","versionType":"git"},{"version":"f9278ba4967027ad2bf001694f0e489c7bbae6d5","status":"affected","versionType":"git"},{"version":"88779f09295d82b86601fe42595748488bf5e20c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smb2pdu.c"],"versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.64","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.4","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.24","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8.3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/5012b4c812230ae066902a00442708c999111183"},{"url":"https://git.kernel.org/stable/c/676907004256e0226c7ed3691db9f431404ca258"},{"url":"https://git.kernel.org/stable/c/d026f47db68638521df8543535ef863814fb01b1"},{"url":"https://git.kernel.org/stable/c/0c56693b06a68476ba113db6347e7897475f9e4c"}],"title":"ksmbd: Fix memory leak in get_file_all_info()","x_generator":{"engine":"bippy-1.2.0"}}}}