[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025120941-CVE-2023-53794-8912@gregkh>
Date: Tue, 9 Dec 2025 09:02:15 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53794: cifs: fix session state check in reconnect to avoid use-after-free issue
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
cifs: fix session state check in reconnect to avoid use-after-free issue
Don't collect exiting session in smb2_reconnect_server(), because it
will be released soon.
Note that the exiting session will stay in server->smb_ses_list until
it complete the cifs_free_ipc() and logoff() and then delete itself
from the list.
The Linux kernel CVE team has assigned CVE-2023-53794 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.47 with commit 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76
Fixed in 6.4.12 with commit 759ffc164d95a32c09528766d74d9b4fb054e8f4
Fixed in 6.5 with commit 99f280700b4cc02d5f141b8d15f8e9fad0418f65
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-2023-53794
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/client/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/7e4f5c3f01fb0e51ca438e43262d858daf9a0a76
https://git.kernel.org/stable/c/759ffc164d95a32c09528766d74d9b4fb054e8f4
https://git.kernel.org/stable/c/99f280700b4cc02d5f141b8d15f8e9fad0418f65
Powered by blists - more mailing lists