{"id":"CVE-2025-71153","aliases":["CVE-2025-71153"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: Fix memory leak in get_file_all_info()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nksmbd: Corrección de fuga de memoria en get_file_all_info()\n\nEn get_file_all_info(), si vfs_getattr() falla, la función retorna inmediatamente sin liberar el nombre de archivo asignado, lo que lleva a una fuga de memoria.\n\nCorrija esto liberando el nombre de archivo antes de retornar en este caso de error.","source":"nvd"}],"published":"2026-01-23T14:25:52.988Z","modified":"2026-06-17T10:03:46.223Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"c8f7ad2df083c510e640c0bf76166593cc116ff2","fixed":"5012b4c812230ae066902a00442708c999111183","status":"affected"},{"type":"git","introduced":"5614c8c487f6af627614dd2efca038e4afe0c6d7","fixed":"676907004256e0226c7ed3691db9f431404ca258","status":"affected"},{"type":"git","introduced":"5614c8c487f6af627614dd2efca038e4afe0c6d7","fixed":"d026f47db68638521df8543535ef863814fb01b1","status":"affected"},{"type":"git","introduced":"5614c8c487f6af627614dd2efca038e4afe0c6d7","fixed":"0c56693b06a68476ba113db6347e7897475f9e4c","status":"affected"},{"type":"git","version":"f9278ba4967027ad2bf001694f0e489c7bbae6d5","status":"affected"},{"type":"git","version":"88779f09295d82b86601fe42595748488bf5e20c","status":"affected"},{"type":"semver","introduced":"6.6.24","fixed":"6.6.120","status":"affected"},{"type":"semver","introduced":"6.7.12","fixed":"6.8","status":"affected"},{"type":"semver","introduced":"6.8.3","fixed":"6.9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.4","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6.24","fixed":"6.6.120"},{"status":"affected","introduced":"6.7.12","fixed":"6.8"},{"status":"affected","introduced":"6.8.3","fixed":"6.12.64"},{"status":"affected","introduced":"6.13","fixed":"6.18.4"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5012b4c812230ae066902a00442708c999111183","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/676907004256e0226c7ed3691db9f431404ca258","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d026f47db68638521df8543535ef863814fb01b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c56693b06a68476ba113db6347e7897475f9e4c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71153","url":"https://www.cve.org/CVERecord?id=CVE-2025-71153","licence":"CVE Terms of Use","modified":"2026-05-23T16:03:27.184Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71153","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71153","licence":"Public domain","modified":"2026-06-17T10:03:46.223Z"}],"updatedAt":"2026-11-25T22:59:10.837Z","epss":{"score":0.00135,"percentile":0.03192,"date":"2026-12-01T12:00:22.000Z"}}