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 F16D92571C7 for ; Tue, 19 Aug 2025 17:19:41 +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=1755623982; cv=none; b=DykGJp8V0WIFQb265HAgoQjrDxKN3h6cRB+dhU13XM+JTxXHZ8qozyBMN547vvjyAZc2VSr0IfxDinzmelEdfBN5Ybsi6+/+c/dv3hj7/Bi2yKbkYYexbUnsGMrYx0bblkJjhp3rky2AccgCY58cmEBThz5Ug/6wCHo88wos8hA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755623982; c=relaxed/simple; bh=zAPSGFgLUxa4LnZH7Iz3nMtdb0nqxeulaODrs9iuIUs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eZfRIjtp1KRpbjLPRq7lzLFyPiXntikAiUUmkQIWeDjwl0IA6PGzpN7SYKIivE6p0A8dasArdCLZZP8/t8RhDPglSXuh4SND3msZCj79WE29gp0DKfftURUyOprbQqzNYFmT0Ly5tf2/+mTngLD+M4QKOQ29xT0WcaeZH8g/z0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aOEh6dAI; 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="aOEh6dAI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47714C4CEF1; Tue, 19 Aug 2025 17:19:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755623981; bh=zAPSGFgLUxa4LnZH7Iz3nMtdb0nqxeulaODrs9iuIUs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=aOEh6dAIBCSzyA5BT6sBXCF8rVxpRdIKc5X+PC5F6BCUgGrg9TdarSq1Rb5Vi6aXi YCKHNqYSmdgUqEBjLs/9edmieEgYYHf5FWGWYbNpILIU1n7lZOOrnpqaAw/eLGO2IU pRhIs8UQ/XuX+AQyNIAdgsklSvGystLPP0LXxF60= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38574: pptp: ensure minimal skb length in pptp_xmit() Date: Tue, 19 Aug 2025 19:18:21 +0200 Message-ID: <2025081911-CVE-2025-38574-6c50@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3669; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3BmFL+W8u9Q8DUWjgUtJrEW/+LY41VRWe7SB4w71/CA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlLNl6+pO0gd9CdeZbghbjQDWFLVZpFHsUn5+a6bzJqt vh9vG97RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk3B2GBV3NU0pYY1euzBGa lfxqy4192qna3AwLDrw6t8DWzUVN0GDK1LKTeubzH+o3AQA= 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: pptp: ensure minimal skb length in pptp_xmit() Commit aabc6596ffb3 ("net: ppp: Add bound checking for skb data on ppp_sync_txmung") fixed ppp_sync_txmunge() We need a similar fix in pptp_xmit(), otherwise we might read uninit data as reported by syzbot. BUG: KMSAN: uninit-value in pptp_xmit+0xc34/0x2720 drivers/net/ppp/pptp.c:193 pptp_xmit+0xc34/0x2720 drivers/net/ppp/pptp.c:193 ppp_channel_bridge_input drivers/net/ppp/ppp_generic.c:2290 [inline] ppp_input+0x1d6/0xe60 drivers/net/ppp/ppp_generic.c:2314 pppoe_rcv_core+0x1e8/0x760 drivers/net/ppp/pppoe.c:379 sk_backlog_rcv+0x142/0x420 include/net/sock.h:1148 __release_sock+0x1d3/0x330 net/core/sock.c:3213 release_sock+0x6b/0x270 net/core/sock.c:3767 pppoe_sendmsg+0x15d/0xcb0 drivers/net/ppp/pppoe.c:904 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x330/0x3d0 net/socket.c:727 ____sys_sendmsg+0x893/0xd80 net/socket.c:2566 ___sys_sendmsg+0x271/0x3b0 net/socket.c:2620 __sys_sendmmsg+0x2d9/0x7c0 net/socket.c:2709 The Linux kernel CVE team has assigned CVE-2025-38574 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.148 with commit 504cc4ab91073d2ac7404ad146139f86ecee7193 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.102 with commit 5005d24377378a20e5c0e53052fc4ebdcdcbc611 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.42 with commit ea99b88b1999ebcb24d5d3a6b7910030f40d3bba Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.15.10 with commit b7dcda76fd0615c0599c89f36873a6cd48e02dbb Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.16.1 with commit 1a04db0fd75cb6034fc27a56b67b3b8b9022a98c Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.17-rc1 with commit de9c4861fb42f0cd72da844c3c34f692d5895b7b 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-2025-38574 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: drivers/net/ppp/pptp.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/504cc4ab91073d2ac7404ad146139f86ecee7193 https://git.kernel.org/stable/c/5005d24377378a20e5c0e53052fc4ebdcdcbc611 https://git.kernel.org/stable/c/ea99b88b1999ebcb24d5d3a6b7910030f40d3bba https://git.kernel.org/stable/c/b7dcda76fd0615c0599c89f36873a6cd48e02dbb https://git.kernel.org/stable/c/1a04db0fd75cb6034fc27a56b67b3b8b9022a98c https://git.kernel.org/stable/c/de9c4861fb42f0cd72da844c3c34f692d5895b7b