Article View: linux.kernel.netdev
Article #11603Re: [PATCH] ip6mr: Serialize multicast router socket ownership
From: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 10:40
Date: Thu, 05 Nov 2026 10:40
29 lines
8876 bytes
8876 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 29 Oct 2026 21:22:21 -0700 you wrote:
> MRT6_TABLE checks whether the socket owns its current table before
> acquiring RTNL. MRT6_INIT also looks up its table before taking RTNL.
> Consequently, concurrent TABLE and INIT calls can initialize the old
> table and then change the socket's selected table. Another INIT can
> register the same socket in the new table.
>
> rawv6_close() calls ip6mr_sk_done(), which clears only the first table
> owned by the socket. After the socket's RCU-delayed free, the other
> table retains a dangling mroute_sk pointer. A subsequent multicast cache
> report passes that pointer to sock_queue_rcv_skb_reason(). This produces
> a KASAN slab-use-after-free in sk_filter_trim_cap().
>
> [...]
Here is the summary with links:
- ip6mr: Serialize multicast router socket ownership
https://git.kernel.org/netdev/net/c/c6b41de4dd9f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179387520450.3581681.4727389061337048747.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357223-linux-kernel-netdev=dewy.ruReferences:
<20261030042221.73996-1-kylebot@openai.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357223-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] ip6mr: Serialize multicast router socket ownership Date: Thu, 05 Nov 2026 10:40:04 +0000 Organization: Usenet Network Message-ID: <179387520450.3581681.4727389061337048747.git-patchwork-notify@kernel.org> References: <20261030042221.73996-1-kylebot@openai.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3618854"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:EaLXdxgE2uiL1gee1srGEufhUew= sha256:NtIkiXORpeWHF/9Cc9Ndq47s9zXgjO496FSWOcnwiBQ= sha1:mU7GKUEk9IM0Jzk46XTZzT/8BkU= sha256:Q+mgp3oDc7BtQ9Bq28n9eoYY56k5TGwCKPXOucPs4sA= 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 CFE2D112F24; Thu, 5 Nov 2026 14:07:57 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 lF39tpa4iBOx; Thu, 5 Nov 2026 14:07:54 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-357223-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 18F20112F23; Thu, 5 Nov 2026 14:07:46 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 489892E32D; Thu, 5 Nov 2026 10:40:17 +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=1793875214; b=gHtSDBZJ/wfXkayPn+xuvl4CPpC33LuudG42frvzc7H5doTtWtZc9xzw09JeFWqmjhzI Q+yoiMGoc3no/VH5pZNmDMYzwmyRME2zQcUJUvktD3MFCP2ahFsMHq+xNir4pBbeMp6nV 6GN6cUzfVwVhc+uaImhylwha7ud8Ix7sr0arA4tsoABe0Uij45QrIxW160N/8eaxzfMpS FYBzPA9WsCGfJrS9szMuCVuFtrr0cT/GnEyQHHpfYpAHVMu2XYvXj9+N9OvDBk/FJnPfs 6pA3Nkf2640HW8DLB7xr9bX6QWIQIoh/snVFL7CqRxLeNNRL4eAwWG2e61B0nhCVUoQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793875214; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=YklILbv3bPFdb8VwM9dwS1UkiPgxX1hg00WRWNTQU9c=; b=wmt/Sd98oE73T1R9AzzehPnKyPGFuGG3IFIg6lNrGGXOQZU29xkWpnPczpdKveXDODwr HPERiq33cvBPvSTayq16EEqI9kHuswFG6Mkl8su1vb7U9WNPPxecK85tXI9HIQpehfnwU 7ii5g6ibt63cDycVMxLkXUyvCvZGSQMwyY4vfUQb81VgSuOFZ2aNLeIDZH9lWCW9QSI6W S+cjaIpxdyWGwqZ75oO0xITDLTvCfKutWAxpHttTg1n/JSekxBVitQtKRlKfxQfDtckq0 J6Wv19Y+Y//niwuCH8zCblIS6kMcNtweiYXiaDle0D5rGlB6RuEvrkBXu51e3O351Dw== 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=ZN2dhqMT; 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 BE6B2606A330; Thu, 5 Nov 2026 10:40:14 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZN2dhqMT 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=1793875206; b=i7+WI0856R4idqLzni0RMtvgknN6d6+NbX8e8FwmZaDuaIB4ivVXOuZu9zbmfvcL1Zes YdrUktHNNfBN5ZRHO2IcHJWlZINs1qpkUtogm/Door6TOuhIbPy4kRBDVnCF/9//glqbT 08ImONTd6HpXETOI1FpCs2tDgkwJgPKTI+qHQMUlmE/AwN8IygAg0ZEmGhphr7JvbMl2O QhWm3dob1DUZYUB/1YSiUx1cWn6N30qqCxkYw/hQPB5NBaeG/ecKeH4W0k4oz5om9DNFk VEGT30dYWYW65lmPybLUPZQcT66T0vWO2Jm/zqxjPEBiNOwUb/WYaLPV4bsMT3w5iAQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793875206; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=YklILbv3bPFdb8VwM9dwS1UkiPgxX1hg00WRWNTQU9c=; b=odWum8wGWDnRYc7PEilmD1m7K/v/CWBSIqA7T3DlOU4ZOo094P0Ybfabs8CWdCZP78QM t96u0Ro/ERn7JnxfAa6jlHoF2q/zvrhnJzIIIe0kmmwAKMu6Z2oQGRyYOMkgtgmVJvUOq YXlqSUyidRpChB5UmywPMBBp9hiT6MeB08vrB+mNIebVDkRwaYWxKXe2w4iNhz5VG3E2b qAYtKuWI24Bu+Wi4Tt3Kz7GcyXffCCVZNstApQrWmyLdXx8L/72qk2ipRtbtPoPXdBelm btxEW5oJI1O+M/i1XnNnjtxs3zaugolmXy/WJoF0mUyH15L2BUyQPHPRyTX3nybmScQ== 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=ZN2dhqMT; 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 36FD1606A326; Thu, 5 Nov 2026 10:40:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4AE41F00A02; Thu, 5 Nov 2026 10:40:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793875205; bh=YklILbv3bPFdb8VwM9dwS1UkiPgxX1hg00WRWNTQU9c=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ZN2dhqMTAsBeaHybh6h59fcFGtNXGyqwKh6qBAnZw2dnxRKaNl77ypLh9QRlWDWbq qwBw2Fl0uqmx6NDxgvme8Nd3X2kQklwe3UPq4LApsdu87wzToKNqUrgoZk4So6qIpA oeShsVrXBBieZojh5Bvn2296rnGEsDDHXSJ0iVYX4Q2NCvQiLgmzeSI5pyXwP/iy17 3i3n5fQPavUFYfZ1PwGPHPRp4INzILWlA95UuUcAePI4xtMndS+Hq60FyJ9P9k0RSa sIBFCXjMfN7dw2uMv419+Y9csx0GCVIWWsCKSTITOqweqHclS+bBq6BIWnMEDmy0Z0 7PXqaH3x9222A== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id BA1A5391AFB7; Thu, 5 Nov 2026 10:40:05 +0000 (UTC) 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 X-In-Reply-To: <20261030042221.73996-1-kylebot@openai.com> X-Cc: netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com, linux-kernel@vger.kernel.org, outbounddisclosures@openai.com