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: <2025081907-CVE-2025-38562-1418@gregkh>
Date: Tue, 19 Aug 2025 19:18:09 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38562: ksmbd: fix null pointer dereference error in generate_encryptionkey

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

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

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

ksmbd: fix null pointer dereference error in generate_encryptionkey

If client send two session setups with krb5 authenticate to ksmbd,
null pointer dereference error in generate_encryptionkey could happen.
sess->Preauth_HashValue is set to NULL if session is valid.
So this patch skip generate encryption key if session is valid.

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


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

	Fixed in 6.1.148 with commit 96a82e19434a2522525baab59c33332658bc7653
	Fixed in 6.6.102 with commit d79c8bebaa622ee223128be7c66d8aaeeb634a57
	Fixed in 6.12.42 with commit 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e
	Fixed in 6.15.10 with commit 015ef163d65496ae3ba6192c96140a22743f0353
	Fixed in 6.16.1 with commit 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb
	Fixed in 6.17-rc1 with commit 9b493ab6f35178afd8d619800df9071992f715de

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-38562
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/96a82e19434a2522525baab59c33332658bc7653
	https://git.kernel.org/stable/c/d79c8bebaa622ee223128be7c66d8aaeeb634a57
	https://git.kernel.org/stable/c/2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e
	https://git.kernel.org/stable/c/015ef163d65496ae3ba6192c96140a22743f0353
	https://git.kernel.org/stable/c/9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb
	https://git.kernel.org/stable/c/9b493ab6f35178afd8d619800df9071992f715de

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ