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 88B841D416C for ; Tue, 30 Dec 2025 12:25:20 +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=1767097520; cv=none; b=D5rEdtgGd9SHWkuyoasth1TQNjklvlZwrLQy33OpZHyLzb36fKx+Ec394UcyMZlHewafObXf6PLjs/xloXxPVSBTmLfPTG5PIiYm5zadttF520MUo8q9qi3wDR0gZbLA2ygs/mU6WYV28+qSlYhxtGmwwE+xfrGGPO47FGcyDqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097520; c=relaxed/simple; bh=k3sizx/hccTn65YPidyKzy5l+ApElFpenEDl6GZN4A8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UyHS0icrmQWTYjr75PI4iamr5ElPikpVNh2LTr2D8EPTq2zskIklRCNWMme6UTYHfcHTNQ/jGum2F7RXCUn22NXG4Wdg1ZY55BUN8nuTSKZeXCWC2hkCUs7YebQHIAKbQypbaFq0802P97Hyv3Avzq7bP7hGvUcKgMriD0g8PzI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UzfioFtV; 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="UzfioFtV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13328C4CEFB; Tue, 30 Dec 2025 12:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097520; bh=k3sizx/hccTn65YPidyKzy5l+ApElFpenEDl6GZN4A8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=UzfioFtVkAFuYSq3tCNPni9CFFqR4fhgJclfVAZqVpSoP5i/Tsh4zPf3OElintuuE k7qHlqXWs5kxrwNDZmObbBUyRlgShkgE9B34OUyjh/vjvsSAPC2KjgUL3J42bSMO9h PzaLEO2/bgqrHaqgUbK1zj+847EcVf579NlnMNAw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54312: samples/bpf: Fix buffer overflow in tcp_basertt Date: Tue, 30 Dec 2025 13:24:05 +0100 Message-ID: <2025123036-CVE-2023-54312-8b23@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=3178; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PfzSxP84G+MPFtNCSARku+6dr3hNYi2KExhSrgHcWMk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBRzy+vXjWI8Jaucr6jzbT4xd/jv/+1GC6ZA0rU9/Wt VsEGy5/6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJPDjCsODwnFOLZUWzUtZ0 fr/RM3F77VzNGD+GBTemFm3f6GYkqWN42V5/tv3B5Ura5gA= 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: samples/bpf: Fix buffer overflow in tcp_basertt Using sizeof(nv) or strlen(nv)+1 is correct. The Linux kernel CVE team has assigned CVE-2023-54312 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 4.19.291 with commit cf7514fedc25675e68b74941df28a883951e70fd Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 5.4.251 with commit f394d204d64095d72ad9f03ff98f3f3743bf743a Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 5.10.188 with commit bd3e880dce27d225598730d2bbb3dc05b443af22 Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 5.15.121 with commit e92f61e0701ea780e57e1be8dbd1fbec5f42c09e Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 6.1.39 with commit 56c25f2763a16db4fa1b486e6a21dc246cd992bd Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 6.3.13 with commit dfc004688518d24159606289c74d0c4e123e6436 Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 6.4.4 with commit 7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59 Issue introduced in 4.15 with commit c890063e440456e75c2e70f6bcec3797f1771eb6 and fixed in 6.5 with commit f4dea9689c5fea3d07170c2cb0703e216f1a0922 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-54312 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: samples/bpf/tcp_basertt_kern.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/cf7514fedc25675e68b74941df28a883951e70fd https://git.kernel.org/stable/c/f394d204d64095d72ad9f03ff98f3f3743bf743a https://git.kernel.org/stable/c/bd3e880dce27d225598730d2bbb3dc05b443af22 https://git.kernel.org/stable/c/e92f61e0701ea780e57e1be8dbd1fbec5f42c09e https://git.kernel.org/stable/c/56c25f2763a16db4fa1b486e6a21dc246cd992bd https://git.kernel.org/stable/c/dfc004688518d24159606289c74d0c4e123e6436 https://git.kernel.org/stable/c/7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59 https://git.kernel.org/stable/c/f4dea9689c5fea3d07170c2cb0703e216f1a0922