From nobody Fri Sep 25 10:04:21 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 BE24E3E1231; Sun, 20 Sep 2026 07:40:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789890020; cv=none; b=rHvcZyXbhAMCYK7jgBKpU8qS9K2Wb/McX3eoJwZynj1dxhOq43Ob5QlYez0W3TEAMZPR9GQBCA8WTotYF7AqmfXrYA0afK5x9lnon21WLEoxBe1JtnYdSU0USVbF0LmT4XXLQtjqkU1FxkV+J4yDUaJW1t5JcfIUg2ccbOqUd6I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789890020; c=relaxed/simple; bh=9CLd1suFNe4hj0Q3N0qEZzRentfNBc19TVUDEWTUCUk=; h=Subject:To:Cc:From:Date:In-Reply-To:Message-ID:MIME-Version: Content-Type; b=HXEqE8UxYW78k9qOXg1hDQgmBuUwRGOEc6PxmHl5sAE96Sui8AG4QH/ihRoH3boiUSePRuarzXKd7hxPQymw3MhTUsdyqq7vX93fXQDqdcTC7p3nUlmxu7CA6nj0s/1Dtw+mm7yMWIUPAq5HSTZyz5huNbabpvWeM4mmjoOpkeM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ru8rJL9Z; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ru8rJL9Z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9A7B1F000FF; Sun, 20 Sep 2026 07:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789890019; bh=PVhyq7OGxivbP2OPwshYo0HTIqW8yinI2eRe5I/JLyA=; h=Subject:To:Cc:From:Date:In-Reply-To; b=ru8rJL9ZekyXzvZ5sckHg+dvDV3dkvxZi5dQj1xQfjcTq+uPNIGPwDXWw2oWdq3gt XbcnT+3OBj4n1w26RGI2lBoTF1etJMBa6siQMGQtCPVDjp6LSPGiravnmv9pqGl9ls pd0aVjkSgCUen4OM8dtsbS9zfpD2j1mjN3zysC58= Subject: Patch "mptcp: close race between scheduler and state change" has been added to the 6.18-stable tree To: gregkh@linuxfoundation.org,kuba@kernel.org,matttbe@kernel.org,mptcp@lists.linux.dev,pabeni@redhat.com,sashal@kernel.org,shardul.b@mpiricsoftware.com,xinyang@anthropic.com Cc: From: Date: Sun, 20 Sep 2026 09:36:39 +0200 In-Reply-To: <20260919193948.1927666-9-matttbe@kernel.org> Message-ID: <2026092039-blaspheme-cofounder-4452@gregkh> Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-stable: commit X-Patchwork-Hint: ignore Content-Type: text/plain; charset="utf-8" This is a note to let you know that I've just added the patch titled mptcp: close race between scheduler and state change to the 6.18-stable tree which can be found at: http://www.kernel.org/git/?p=3Dlinux/kernel/git/stable/stable-queue.git= ;a=3Dsummary The filename of the patch is: mptcp-close-race-between-scheduler-and-state-change.patch and it can be found in the queue-6.18 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. From matttbe@kernel.org Sat Sep 19 21:46:13 2026 From: "Matthieu Baerts (NGI0)" Date: Sat, 19 Sep 2026 21:39:52 +0200 Subject: mptcp: close race between scheduler and state change To: mptcp@lists.linux.dev, stable@vger.kernel.org, gregkh@linuxfoundation.o= rg Cc: Paolo Abeni , sashal@kernel.org, Shardul Bankar , Xinyang Ge , "Matthieu B= aerts (NGI0)" , Jakub Kicinski Message-ID: <20260919193948.1927666-9-matttbe@kernel.org> From: Paolo Abeni commit 42064de57fb83231fcc89663a94885f228a1ee53 upstream. The mptcp scheduler may race with subflow sockets state change: data transmission on the selected socket may fail and a later release could try to use mss_now reset to 0 for a divide operation. Address the issue by explicitly checking for the critical scenario. Fixes: c886d70286bf ("mptcp: do not queue data on closed subflows") Cc: stable@vger.kernel.org Reported-by: Shardul Bankar Reported-by: Xinyang Ge Closes: https://lore.kernel.org/20260525194828.1137119-1-shardul.b@mpiricso= ftware.com Signed-off-by: Paolo Abeni Reviewed-by: Matthieu Baerts (NGI0) Signed-off-by: Matthieu Baerts (NGI0) Link: https://patch.msgid.link/20260917-net-mptcp-misc-fixes-7-3-rc4-v2-2-0= cf5c72667c8@kernel.org Signed-off-by: Jakub Kicinski Signed-off-by: Matthieu Baerts (NGI0) Signed-off-by: Greg Kroah-Hartman --- net/mptcp/protocol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -1515,7 +1515,9 @@ struct sock *mptcp_subflow_get_send(stru =20 static void mptcp_push_release(struct sock *ssk, struct mptcp_sendmsg_info= *info) { - tcp_push(ssk, 0, info->mss_now, tcp_sk(ssk)->nonagle, info->size_goal); + if (info->mss_now) + tcp_push(ssk, 0, info->mss_now, tcp_sk(ssk)->nonagle, + info->size_goal); release_sock(ssk); } =20 Patches currently in stable-queue which might be from matttbe@kernel.org are queue-6.18/selftests-mptcp-fix-an-uaf-in-mptcp_connect.c.patch queue-6.18/mptcp-fix-bad-accounting-in-__mptcp_subflow_push_pending.patch queue-6.18/mptcp-pm-reset-retrans_time-when-add_addr-entry-is-reused.patch queue-6.18/mptcp-syncookies-remember-the-request-backup-flag.patch queue-6.18/mptcp-remove-unneeded-read_once-annotation.patch queue-6.18/mptcp-pm-kernel-drop-pending-add_addr-when-removing-id0.patch queue-6.18/mptcp-close-race-between-scheduler-and-state-change.patch queue-6.18/tcp-use-gfp_atomic-in-tcp_send_active_reset.patch queue-6.18/mptcp-do-not-reschedule-the-rtx-timer-for-fallback-sockets.patch queue-6.18/mptcp-pm-userspace-fix-address-id-overflow.patch queue-6.18/mptcp-move-the-stale-logic-out-of-retrans-scheduler.patch queue-6.18/mptcp-avoid-unneeded-actions-on-subflow-reset.patch queue-6.18/mptcp-options-handle-mpc-data-csum-reqd-no-csum.patch queue-6.18/mptcp-prevent-race-between-disconnect-and-rtx.patch queue-6.18/mptcp-subflow-no-need-to-copy-thmac-during-ulp_clone.patch