lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2026012305-CVE-2025-71153-246e@gregkh>
Date: Fri, 23 Jan 2026 15:27:04 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-71153: ksmbd: Fix memory leak in get_file_all_info()

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2025-71153 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.6.24 with commit c8f7ad2df083c510e640c0bf76166593cc116ff2 and fixed in 6.6.120 with commit 5012b4c812230ae066902a00442708c999111183
	Issue introduced in 6.9 with commit 5614c8c487f6af627614dd2efca038e4afe0c6d7 and fixed in 6.12.64 with commit 676907004256e0226c7ed3691db9f431404ca258
	Issue introduced in 6.9 with commit 5614c8c487f6af627614dd2efca038e4afe0c6d7 and fixed in 6.18.4 with commit d026f47db68638521df8543535ef863814fb01b1
	Issue introduced in 6.9 with commit 5614c8c487f6af627614dd2efca038e4afe0c6d7 and fixed in 6.19-rc4 with commit 0c56693b06a68476ba113db6347e7897475f9e4c
	Issue introduced in 6.7.12 with commit f9278ba4967027ad2bf001694f0e489c7bbae6d5
	Issue introduced in 6.8.3 with commit 88779f09295d82b86601fe42595748488bf5e20c

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-71153
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	fs/smb/server/smb2pdu.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/5012b4c812230ae066902a00442708c999111183
	https://git.kernel.org/stable/c/676907004256e0226c7ed3691db9f431404ca258
	https://git.kernel.org/stable/c/d026f47db68638521df8543535ef863814fb01b1
	https://git.kernel.org/stable/c/0c56693b06a68476ba113db6347e7897475f9e4c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ