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: <2025031253-CVE-2024-58087-d9e7@gregkh>
Date: Wed, 12 Mar 2025 08:31:53 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-58087: ksmbd: fix racy issue from session lookup and expire

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

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

ksmbd: fix racy issue from session lookup and expire

Increment the session reference count within the lock for lookup to avoid
racy issue with session expire.

The Linux kernel CVE team has assigned CVE-2024-58087 to this issue.


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

	Fixed in 5.15.176 with commit 2107ab40629aeabbec369cf34b8cf0f288c3eb1b
	Fixed in 6.1.121 with commit 37a0e2b362b3150317fb6e2139de67b1e29ae5ff
	Fixed in 6.6.67 with commit 450a844c045ff0895d41b05a1cbe8febd1acfcfd
	Fixed in 6.12.6 with commit a39e31e22a535d47b14656a7d6a893c7f6cf758c
	Fixed in 6.13 with commit b95629435b84b9ecc0c765995204a4d8a913ed52

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-2024-58087
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/auth.c
	fs/smb/server/mgmt/user_session.c
	fs/smb/server/server.c
	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/2107ab40629aeabbec369cf34b8cf0f288c3eb1b
	https://git.kernel.org/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff
	https://git.kernel.org/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd
	https://git.kernel.org/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c
	https://git.kernel.org/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ