CVE-2025-71153

Source
https://cve.org/CVERecord?id=CVE-2025-71153
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71153.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-71153
Downstream
Published
2026-01-23T14:25:52.988Z
Modified
2026-03-20T12:46:39.001729Z
Summary
ksmbd: Fix memory leak in get_file_all_info()
Details

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: Fix memory leak in getfileall_info()

In getfileallinfo(), if vfsgetattr() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71153.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c8f7ad2df083c510e640c0bf76166593cc116ff2
Fixed
5012b4c812230ae066902a00442708c999111183
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5614c8c487f6af627614dd2efca038e4afe0c6d7
Fixed
676907004256e0226c7ed3691db9f431404ca258
Fixed
d026f47db68638521df8543535ef863814fb01b1
Fixed
0c56693b06a68476ba113db6347e7897475f9e4c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
f9278ba4967027ad2bf001694f0e489c7bbae6d5
Last affected
88779f09295d82b86601fe42595748488bf5e20c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71153.json"