[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025071032-CVE-2025-38325-9f7c@gregkh>
Date: Thu, 10 Jul 2025 10:15:33 +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-38325: ksmbd: add free_transport ops in ksmbd connection
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: add free_transport ops in ksmbd connection
free_transport function for tcp connection can be called from smbdirect.
It will cause kernel oops. This patch add free_transport ops in ksmbd
connection, and add each free_transports for tcp and smbdirect.
The Linux kernel CVE team has assigned CVE-2025-38325 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12.26 with commit 1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e and fixed in 6.12.35 with commit 3890da762a66191c440b0bd6e3ee45501edbb0c1
Issue introduced in 6.15 with commit 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de and fixed in 6.15.4 with commit 3f3aae77280aad9f5acc6709c596148966f765c7
Issue introduced in 6.15 with commit 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de and fixed in 6.16-rc3 with commit a89f5fae998bdc4d0505306f93844c9ae059d50c
Issue introduced in 6.14.4 with commit e59796fc80603bcd8569d4d2e10b213c1918edb4
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-38325
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/connection.c
fs/smb/server/connection.h
fs/smb/server/transport_rdma.c
fs/smb/server/transport_tcp.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/3890da762a66191c440b0bd6e3ee45501edbb0c1
https://git.kernel.org/stable/c/3f3aae77280aad9f5acc6709c596148966f765c7
https://git.kernel.org/stable/c/a89f5fae998bdc4d0505306f93844c9ae059d50c
Powered by blists - more mailing lists