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 0402E318157 for ; Wed, 14 Jan 2026 15:09: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=1768403344; cv=none; b=qXsupKa8pXabIpXVIH8VroPALVm6yIUG/h5c3t2eo9tWjNbxQIz5/FOPVsKvjtdWcMIZ4oaOI2Ox6cWlVFkPaEYOIwofRkYj3/E/ptD8K9LxoDkbhpFYzxIg6Vr9GZZogydm4wPUtX07Si3NOqQT4QDxF248YMDsa8qiyDoNIZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403344; c=relaxed/simple; bh=NIEZz0eAzVCuPhKA71QbI2KYzHUF+pj5uqgDiW6rUSY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dG+japbOs1Ak68Kott5KbU+d8VwbPhNy2JvcLJ8N9mCb0SV2dbRDdghhCpcrzFb7iFYq37QjEA1eLIkzHZfHdbjSBBKBZqfzVGTlTFeo9FuCXf4xey+CypPI7WUSs1l4lKcJWIaIlkmLYWwLYEA6j6tNW6IYosRkaGn57MbkLKM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GPyHh97R; 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="GPyHh97R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EAAFC4CEF7; Wed, 14 Jan 2026 15:09:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403343; bh=NIEZz0eAzVCuPhKA71QbI2KYzHUF+pj5uqgDiW6rUSY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=GPyHh97Ry5+2bYe+GMtlprs0IPM+zi+4sHDbEhcZf3+TT8Q1+pIeS5rj6Az+QmLbH j4vQzmTStvWF30rjcjaH8x/WbjCYn5UPE2YTWhhaYQ3QSsu48r6dvhvrUVPRxAMHj/ Uzn3+twmfikbaLEGOAdxeNOQ8B/zJ+LR/WXIIhYU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71144: mptcp: ensure context reset on disconnect() Date: Wed, 14 Jan 2026 16:09:00 +0100 Message-ID: <2026011459-CVE-2025-71144-8a18@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=5094; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cwDga8o7D3ZXfyiwdm6HYW52cLx2+uXZh5SylDlNrMY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG3tinX/ULGktNT56Usv63ybltacdFl0/M/n34ULVd xfLxJ8t6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ7DrMMD8+dHPUylLe3hSr ojafedckk7gbKxgW7C94oN0gYbhnc/ru/d8rFZbOk2K5AwA= 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: mptcp: ensure context reset on disconnect() After the blamed commit below, if the MPC subflow is already in TCP_CLOSE status or has fallback to TCP at mptcp_disconnect() time, mptcp_do_fastclose() skips setting the `send_fastclose flag` and the later __mptcp_close_ssk() does not reset anymore the related subflow context. Any later connection will be created with both the `request_mptcp` flag and the msk-level fallback status off (it is unconditionally cleared at MPTCP disconnect time), leading to a warning in subflow_data_ready(): WARNING: CPU: 26 PID: 8996 at net/mptcp/subflow.c:1519 subflow_data_ready (net/mptcp/subflow.c:1519 (discriminator 13)) Modules linked in: CPU: 26 UID: 0 PID: 8996 Comm: syz.22.39 Not tainted 6.18.0-rc7-05427-g11fc074f6c36 #1 PREEMPT(voluntary) Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 RIP: 0010:subflow_data_ready (net/mptcp/subflow.c:1519 (discriminator 13)) Code: 90 0f 0b 90 90 e9 04 fe ff ff e8 b7 1e f5 fe 89 ee bf 07 00 00 00 e8 db 19 f5 fe 83 fd 07 0f 84 35 ff ff ff e8 9d 1e f5 fe 90 <0f> 0b 90 e9 27 ff ff ff e8 8f 1e f5 fe 4c 89 e7 48 89 de e8 14 09 RSP: 0018:ffffc9002646fb30 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88813b218000 RCX: ffffffff825c8435 RDX: ffff8881300b3580 RSI: ffffffff825c8443 RDI: 0000000000000005 RBP: 000000000000000b R08: ffffffff825c8435 R09: 000000000000000b R10: 0000000000000005 R11: 0000000000000007 R12: ffff888131ac0000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f88330af6c0(0000) GS:ffff888a93dd2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88330aefe8 CR3: 000000010ff59000 CR4: 0000000000350ef0 Call Trace: tcp_data_ready (net/ipv4/tcp_input.c:5356) tcp_data_queue (net/ipv4/tcp_input.c:5445) tcp_rcv_state_process (net/ipv4/tcp_input.c:7165) tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1955) __release_sock (include/net/sock.h:1158 (discriminator 6) net/core/sock.c:3180 (discriminator 6)) release_sock (net/core/sock.c:3737) mptcp_sendmsg (net/mptcp/protocol.c:1763 net/mptcp/protocol.c:1857) inet_sendmsg (net/ipv4/af_inet.c:853 (discriminator 7)) __sys_sendto (net/socket.c:727 (discriminator 15) net/socket.c:742 (discriminator 15) net/socket.c:2244 (discriminator 15)) __x64_sys_sendto (net/socket.c:2247) do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) RIP: 0033:0x7f883326702d Address the issue setting an explicit `fastclosing` flag at fastclose time, and checking such flag after mptcp_do_fastclose(). The Linux kernel CVE team has assigned CVE-2025-71144 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.119 with commit 3a13454fd098ed51e733958488f8ec62859a9ed8 and fixed in 6.6.120 with commit 5c7c7135468f3fc6379cde9777a2c18bfe92d82f Issue introduced in 6.12.60 with commit f6fb2cbc91a81178dea23d463503b4525a76825d and fixed in 6.12.65 with commit 1c7c3a9314d8a7fc0e9a508606466a967c8e774a Issue introduced in 6.18 with commit ae155060247be8dcae3802a95bd1bdf93ab3215d and fixed in 6.18.5 with commit f1a77dfc3b045c3dd5f6e64189b9f52b90399f07 Issue introduced in 6.18 with commit ae155060247be8dcae3802a95bd1bdf93ab3215d and fixed in 6.19-rc4 with commit 86730ac255b0497a272704de9a1df559f5d6602e Issue introduced in 6.1.159 with commit 9ea05fabce31ff93a0adae8221c58bc6d7b832f3 Issue introduced in 6.17.10 with commit c4f7b0916b95fd2226e5ab98882482b08f52e1c0 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-71144 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: net/mptcp/protocol.c net/mptcp/protocol.h 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/5c7c7135468f3fc6379cde9777a2c18bfe92d82f https://git.kernel.org/stable/c/1c7c3a9314d8a7fc0e9a508606466a967c8e774a https://git.kernel.org/stable/c/f1a77dfc3b045c3dd5f6e64189b9f52b90399f07 https://git.kernel.org/stable/c/86730ac255b0497a272704de9a1df559f5d6602e