🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19242

Re: [PATCH 5.15.y v1 1/1] mptcp: fix UAF of child socket on listener close

#19242
From: Sasha Levin
Date: Thu, 19 Nov 2026 16:08
10 lines
7935 bytes
> mptcp_close() orphans the listener subflow before inet_csk_listen_stop()
> runs on it. A child created in that window inherits SOCK_DEAD, so a
> following RST frees it while it is still in the accept queue

Queued for 5.15, thanks.

-- 
Thanks,
Sasha
Technical Details
Message-ID: <2026-11-19-1-daily-reply-0004@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367138-linux-kernel-netdev=dewy.ru
References: <20261118125032.200934-2-jiayuan.chen@linux.dev>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367138-linux-kernel-netdev=dewy.ru
From: sashal@kernel.org (Sasha Levin)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 5.15.y v1 1/1] mptcp: fix UAF of child socket on listener close
Date: Thu, 19 Nov 2026 11:08:06 -0500
Organization: Usenet Network
Message-ID: <2026-11-19-1-daily-reply-0004@kernel.org>
References: <20261118125032.200934-2-jiayuan.chen@linux.dev>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2921723"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:2SeQGt6D56Cz2QUf5PmxuasmwSc= sha256:2YOH+GKwnPSu0uC+ve7MHm69pyQcTcKz9IKIo3JSiFM=
	sha1:Bmv7vSZQneeld5aTmGKdRnFXdyk= sha256:sIQiiFvlNUuB1g4pO7KU1HYhsAXzuyqEqNAz1GUTlwM=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 778AC1156DB; Thu, 19 Nov 2026 19:09:09 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id OO_WMonB00Lm;
	Thu, 19 Nov 2026 19:09:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-367138-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 584FD1156D6; Thu, 19 Nov 2026 19:08:52 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 2E6906C72DE; Thu, 19 Nov 2026 16:08:51 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795104524;
	b=O70pftCizHObHDhWXHKtbEio/UQvyKvs6Up9rPLttULz/XgMReibFu68cygi15wKN52D
	 EWvd9oByH8CMou6XPJC3oOr/cILnB7mp1YnNE43gLfE33fkFBQM0xu/k9Yw+gDGDXdJ4j
	 TvUHWDRdx6ORUmAMN8eYRMSSWfrjS0KKw2omGovQBlCAOH94WWgoBcll9KWPu2XRfPK/r
	 ENEWUyy6/q76CjS+CMohrkDJAflUycGhcnVg8u5NEqBvRE4FSjOQew03By+eIC673+x7k
	 ypnPQHEDtjmWRq0PDq9Nfs22OyODM8O5xYIR8Tqv8PdsH5E4TXv/q9gynkdqzDA4qrQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795104524;
	h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject:
	 Date:Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding;
	bh=eaqwS3/vkcbFCW/Aj1ah0AA9Pa736iPqNtZZpbNIeA4=;
	b=xmWnH1gBruw32qMBqSRw2mqrjFpG9Sr8BzPRZNuw83ayAnTNkjmvXZwzM6jqMuY+pPFq
	 nQpZcUO7YzDLT1IICOFIsKF4YNmtwzBIsHgHq5TE0bI2T96v3fmeSN6o5hLsLgk/AVtrq
	 MDvo8UkYOS9Z69WwmagTSJQzyT9e1dzGSJ2BDfH8T8+106KVSMl6vyKnehU+SchCuCSX+
	 5VmNh05/bGPem0kML/hFYGwSvmli5q30BAykc4FLZKoKFsSwtH9e/+RO10R/NCA7iBYpE
	 k0YEY2UA2BSReTA2TLuaCKFagoyktJZxeDaGOg+mtncT0CFB/Pc3qTzvvO/cQiN/eMA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g5Ne8CFF;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id BE29960A260D;
	Thu, 19 Nov 2026 16:08:44 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g5Ne8CFF
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795104518;
	b=w3FltQxhE8KGl0wIulo/Bywo8L//G5tlnmnAUdehBBp0RIngHFvnBVcrDsuLsZYfkogb
	 Vo77jxvsn7MhVd/wZlQ6k2fOHrO6uHrFbOVh+x0dS+NSelHjWPbP4SgPfsmS1GJ+bil+v
	 bPxHZaf+V4GbaIpxFzh2asv5n/+tksvCT0f7ml03hSBxRtbnWc/uHeMFC2g4nyP7p4b3v
	 HUDW92Uxbh+VUEBB6aulm9HgJtMymKeK7aPh8aZ8hqYdBo1XCU7JLyhnDY8BCsXxMQS+D
	 TXy/eaKzyXw8tO/Pg0gaVZV3Uq8ZE/WZW3fz3iSRROGGpYtE0TQmMxBDWZg+VebD6qw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795104518;
	h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:MIME-Version:Content-Transfer-Encoding;
	bh=eaqwS3/vkcbFCW/Aj1ah0AA9Pa736iPqNtZZpbNIeA4=;
	b=mSdyubIC7b1GWmzsvtoPNJ5BnHepUW8AZPkBrdT8+aVs3W0O+gj2UHCcmZzPZuedoHTn
	 pJqe/DE0c48sBV9hNMWKX5LRHLqF46CQW9n0p7TtKkryZkd2gUgRqM3GkXkl2XKtP8YCX
	 JA9BmJMWh9wpRZ+QJrs5il/JPjSkYAO6dNfeYUp0hfHhPclccZa0jHndDMvJXMeOHT4yl
	 UGHFUUSk3iiY9QwQtiXRXtN02fb66pHUjmZZ+bderw6LvoJ5riKRfD5NVb9kXV17gg27N
	 D4Atceex6QgVqozhiaQ4CLLoPWEpZasp5Bo46fleizLsIJhkxarTvu/eYKd4whwMMgw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g5Ne8CFF;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEF7060A2608;
	Thu, 19 Nov 2026 16:08:38 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5ADA51F000C8;
	Thu, 19 Nov 2026 16:08:37 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795104518;
	bh=eaqwS3/vkcbFCW/Aj1ah0AA9Pa736iPqNtZZpbNIeA4=;
	h=From:To:Cc:Subject:Date:In-Reply-To:References;
	b=g5Ne8CFFkCoPbyxapveGkmyoaiJ75TDtrwZK9MusojecOx74x2lDFroVtmTUMC3Ot
	 bA4kT9x/Kw+ms7XlUvdugdYaDqz7zBaUjrmo88SKHyc95kNxl9ci7m7XkcDlhwbseN
	 avF+a7qq3PU3GHjB3Pj7fCC9ieBG9tyigkOegXXyyl9NPIs2Vf+tGiDIFW9+w7Zfj5
	 BTH7/DsInBMK/dcFLsfYH3i44EGrG2tW7qcMlygAzEZCaUXkf08i+7alDCV0xZcu1H
	 z6zAmuZD0x0Ntzo7sZZvLlguGhA6sXZx8LsWKPEm+GaQaOKMZlMXtbXyeiGuh18Sze
	 AMQ8nJe3OwC4g==
X-Cc: Sasha Levin <sashal@kernel.org>,
	Jiayuan Chen <jiayuan.chen@linux.dev>,
	Mat Martineau <mathew.j.martineau@linux.intel.com>,
	Matthieu Baerts <matthieu.baerts@tessares.net>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.53.0
X-In-Reply-To: <20261118125032.200934-2-jiayuan.chen@linux.dev>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list