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-39943-f5d8@gregkh>
Date: Sat,  4 Oct 2025 09:33:27 +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-39943: ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer

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

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

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

ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer

If data_offset and data_length of smb_direct_data_transfer struct are
invalid, out of bounds issue could happen.
This patch validate data_offset and data_length field in recv_done.

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


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

	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.1.154 with commit bdaab5c6538e250a9654127e688ecbbeb6f771d5
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.6.108 with commit eb0378dde086363046ed3d7db7f126fc3f76fd70
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.12.49 with commit 8be498fcbd5b07272f560b45981d4b9e5a2ad885
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.16.9 with commit 529b121b00a6ee3c88fb3c01b443b2b81f686d48
	Issue introduced in 5.15 with commit 2ea086e35c3d726a3bacd0a971c1f02a50e98206 and fixed in 6.17 with commit 5282491fc49d5614ac6ddcd012e5743eecb6a67c

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-39943
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/bdaab5c6538e250a9654127e688ecbbeb6f771d5
	https://git.kernel.org/stable/c/eb0378dde086363046ed3d7db7f126fc3f76fd70
	https://git.kernel.org/stable/c/8be498fcbd5b07272f560b45981d4b9e5a2ad885
	https://git.kernel.org/stable/c/529b121b00a6ee3c88fb3c01b443b2b81f686d48
	https://git.kernel.org/stable/c/5282491fc49d5614ac6ddcd012e5743eecb6a67c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ