From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FE851F418F for ; Mon, 8 Dec 2025 01:21:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765156864; cv=none; b=A7RXzTaWrKh4RyAHPUtOB8pgrqV1I3T5mypRxYNLDc94GzOBRBnLOuqXJwvN+Fqo1Kn/1/TRh1x0kAs/gZurnMhbx7mOnvggwgXisXjcjmoiDT6Pn7VQdCAuphqgOmL+Tuzyi8gBiKsEm7WlulYQkfVsn8w72Ink51LXZCgy7G4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765156864; c=relaxed/simple; bh=xgpnhOg1ibb4WUiUjyJv0n24vdpfKUNwxlOfEbCmEA0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dkf42s/lzmHgyxidJDDPwCL8S/NaFCJW6MmQGJzwVqUHC2shqOT8eaEpWendS06SDjtIBps3UVsM/wWGGaDSda9Y0CW5vPCDpjIzAng41ga6Qx2UNjAoKfNjAqO3ICJjDp1etQ31Lm5ULkSispqeHRit8+r7NC5fEd0NaYygZzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RhBerUIN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RhBerUIN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D46F9C4CEFB; Mon, 8 Dec 2025 01:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765156864; bh=xgpnhOg1ibb4WUiUjyJv0n24vdpfKUNwxlOfEbCmEA0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RhBerUINovKR7ftdsUUWcqwZIhZXtU/U0TzR4dM8Pv1VgW/AmW44ZgibHBSB8nkah QaQr6swhPIYOjt6HCzy5Qa/gsiD8HCOleYi3gC9DTEO5BVlO7BEdDHk4pbfknubPZK gFLbz9H+Q5fn0T68IjBV4jdsStA5cUwzTlOMt00M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53751: cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname Date: Mon, 8 Dec 2025 10:19:50 +0900 Message-ID: <2025120842-CVE-2023-53751-2ff2@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2142; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=P+jZ+6HUWaBYAA/0li4y+9a4zADIaTdAB2xG9pzLhps=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlm6uszT9/Yuvmh8QUd9tmty9bPPS0TXJcjyMptE5K5W IOjYK5yRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkLpxhwf7js3+F3frQ0vHT 5OTNwg0dCj/mzmSYxbRsVt+tOOHE8zmFzzwOHpd2nqr/EAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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