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: <2025100419-CVE-2025-39942-0297@gregkh>
Date: Sat,  4 Oct 2025 09:33:26 +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-39942: ksmbd: smbdirect: verify remaining_data_length respects max_fragmented_recv_size

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

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

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

ksmbd: smbdirect: verify remaining_data_length respects max_fragmented_recv_size

This is inspired by the check for data_offset + data_length.

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


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

	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.1.154 with commit 196a3a7676d726ee67621ea2bf3b7815ac2685b4
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.6.108 with commit d3cb3f209d35c44b7ee74f77ed27ebb28995b9ce
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.12.49 with commit 9644798294c7287e65a7b26e35aa6d2ce3345bcc
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.16.9 with commit c64b915bb3d9339adcae5db4be2c35ffbef5e615
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.17 with commit e1868ba37fd27c6a68e31565402b154beaa65df0

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-39942
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/transport_rdma.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/196a3a7676d726ee67621ea2bf3b7815ac2685b4
	https://git.kernel.org/stable/c/d3cb3f209d35c44b7ee74f77ed27ebb28995b9ce
	https://git.kernel.org/stable/c/9644798294c7287e65a7b26e35aa6d2ce3345bcc
	https://git.kernel.org/stable/c/c64b915bb3d9339adcae5db4be2c35ffbef5e615
	https://git.kernel.org/stable/c/e1868ba37fd27c6a68e31565402b154beaa65df0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ