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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025012133-CVE-2025-21660-cfac@gregkh>
Date: Tue, 21 Jan 2025 13:18:39 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21660: ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked

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

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

ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked

When `ksmbd_vfs_kern_path_locked` met an error and it is not the last
entry, it will exit without restoring changed path buffer. But later this
buffer may be used as the filename for creation.

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


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

	Issue introduced in 6.1.113 with commit d1b2d2a9c912fc7b788985fbaf944e80f4b3f2af and fixed in 6.1.125 with commit 13e41c58c74baa71f34c0830eaa3c29d53a6e964
	Issue introduced in 6.6.54 with commit 6ab95e27b77730de3fa2d601db3764490c5eede2 and fixed in 6.6.72 with commit 65b31b9d992c0fb0685c51a0cf09993832734fc4
	Issue introduced in 6.12 with commit c5a709f08d40b1a082e44ffcde1aea4d2822ddd5 and fixed in 6.12.10 with commit 51669f4af5f7959565b48e55691ba92fabf5c587
	Issue introduced in 6.12 with commit c5a709f08d40b1a082e44ffcde1aea4d2822ddd5 and fixed in 6.13 with commit 2ac538e40278a2c0c051cca81bcaafc547d61372
	Issue introduced in 6.10.13 with commit d205cb1a13b37b2660df70a972dedc8c4ba1c2e8
	Issue introduced in 6.11.2 with commit c1e27b70e79050530c671b9dab688386c86f039a

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-21660
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/vfs.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/13e41c58c74baa71f34c0830eaa3c29d53a6e964
	https://git.kernel.org/stable/c/65b31b9d992c0fb0685c51a0cf09993832734fc4
	https://git.kernel.org/stable/c/51669f4af5f7959565b48e55691ba92fabf5c587
	https://git.kernel.org/stable/c/2ac538e40278a2c0c051cca81bcaafc547d61372

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ