[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025120842-CVE-2023-53751-2ff2@gregkh>
Date: Mon, 8 Dec 2025 10:19:50 +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-53751: cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
TCP_Server_Info::hostname may be updated once or many times during
reconnect, so protect its access outside reconnect path as well and
then prevent any potential use-after-free bugs.
The Linux kernel CVE team has assigned CVE-2023-53751 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.28 with commit 64d62ac6d6514cba1305bd08e271ec1843bdd612
Fixed in 6.2.15 with commit c511954bf142fe1995aec3c739a9f1a76990283a
Fixed in 6.3.2 with commit 0b08c4c499200be67d54c439d56e5ea866869945
Fixed in 6.4 with commit 90c49fce1c43e1cc152695e20363ff5087897c09
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-53751
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/cifs/cifs_debug.c
fs/cifs/cifs_debug.h
fs/cifs/connect.c
fs/cifs/sess.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/64d62ac6d6514cba1305bd08e271ec1843bdd612
https://git.kernel.org/stable/c/c511954bf142fe1995aec3c739a9f1a76990283a
https://git.kernel.org/stable/c/0b08c4c499200be67d54c439d56e5ea866869945
https://git.kernel.org/stable/c/90c49fce1c43e1cc152695e20363ff5087897c09
Powered by blists - more mailing lists