[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024022259-CVE-2024-26592-58f7@gregkh>
Date: Thu, 22 Feb 2024 17:21:59 +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-26592: ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
The race is between the handling of a new TCP connection and
its disconnection. It leads to UAF on `struct tcp_transport` in
ksmbd_tcp_new_connection() function.
The Linux kernel CVE team has assigned CVE-2024-26592 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.75 with commit 380965e48e9c
Fixed in 6.6.14 with commit 24290ba94cd0
Fixed in 6.7.2 with commit 69d54650b751
Fixed in 6.8-rc1 with commit 38d20c62903d
Please see https://www.kernel.org or 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-26592
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/380965e48e9c32ee4263c023e1d830ea7e462ed1
https://git.kernel.org/stable/c/24290ba94cd0136e417283b0dbf8fcdabcf62111
https://git.kernel.org/stable/c/69d54650b751532d1e1613a4fb433e591aeef126
https://git.kernel.org/stable/c/38d20c62903d669693a1869aa68c4dd5674e2544
Powered by blists - more mailing lists