Article View: linux.kernel.netdev
Article #22807Re: [PATCH net] ipv6: mcast: do not pass uninitialized bytes to dev_mc_add()
From: patchwork-bot+netdevbpf
Date: Thu, 26 Nov 2026 00:10
Date: Thu, 26 Nov 2026 00:10
27 lines
8753 bytes
8753 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Mon, 23 Nov 2026 13:44:58 +0100 you wrote:
> igmp6_group_added() and igmp6_group_dropped() build a link-layer
> multicast address in an on-stack buffer with ndisc_mc_map(), which
> fills a number of bytes depending on dev->type.
>
> dev_mc_add() and dev_mc_del() then use dev->addr_len bytes of it.
>
> Since IPv6 multicast joins and leaves no longer hold RTNL, dev->type
> and dev->addr_len can change between the two steps, for instance with
> TUNSETLINK, or when bonding or team change their type.
>
> [...]
Here is the summary with links:
- [net] ipv6: mcast: do not pass uninitialized bytes to dev_mc_add()
https://git.kernel.org/netdev/net/c/58f419bfa4c3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179565180403.1406798.10272171758652441248.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371756-linux-kernel-netdev=dewy.ruReferences:
<20261123124458.205233-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371756-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] ipv6: mcast: do not pass uninitialized bytes to dev_mc_add() Date: Thu, 26 Nov 2026 00:10:04 +0000 Organization: Usenet Network Message-ID: <179565180403.1406798.10272171758652441248.git-patchwork-notify@kernel.org> References: <20261123124458.205233-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="339281"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:S3q9SQAyodfmPyRzg1PjTb+ydyM= sha256:vQrTMyP29HLDjSIBmppMvEqja9idMHRanl2Qv6Ym/uM= sha1:x/new3+aCQOQqNpAJv9r2Vm4IZM= sha256:MVyKKGHgZKMsHTgkZb+a498RPghP/EVTJHB1ZjVyShA= 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 63338125EAC; Thu, 26 Nov 2026 03:10:20 +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 6xP38VskPgLj; Thu, 26 Nov 2026 03:10:16 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-371756-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id F0E72125EA1; Thu, 26 Nov 2026 03:10:07 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 856F33BEB9; Thu, 26 Nov 2026 00:10:06 +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=1795651806; b=aBwghm1lHHnXAATOs5PxNLWTcqnYi4QBzdsV11qDStigDqNVQWMFKEMJEptrpcGmwCr8 2p5riwemUwDTcTM2NgxPeVFphLiGFtam5Z3rRewWrkX6kmqNzx+OYW0raEwpVHjchHOLJ /UFeCI/6Yn3s2JK9wE9wULmlWF8GyynVCbh8HclbEo+8wj57d6tRKFWiDLMUN7Tn1rFjJ bXCfhVIrza8z6Y0356ZoyT3IPgFZad4OV40tTCvX+DJBtUrmXF68EJAxkYkLeP+1R+uA5 Ji7CYzcj89BiokRzMC+ktKTkfzP6CcdEatgXN5bAAIWSJt2I2FdhgV5Eru0lIVIo1aQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795651806; 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=7YlCoEoJkV6YaVDpx4dm/M10Ti1AWk1BcHSm4cKDbNU=; b=xeEE6BEpCP8Qm6qgn+je3neWczjyEWYMpFK+DSjjGISmKnxfKj4M+lO5sp2ghngwD4LN G2adR4LvyH3Nlm6UPO7mlT+CN/9D842Zf5NCXaIidM82ev5LUZL2jw2PYa8Ubep3ojESZ 97tODpdknkW8QPi3BeOQmmhEPSbvfbYK9XFFh/HaXCxA2jz4j3V3SaORo9wIgv8u9UvfZ iLjqbRsvdgKQxaogaUKGRslPjcaHpNHIL0q0ErtY7ComhZjjfsuik2JHsyCl5P3xCJEiV x1Yl34Iz9PSDouUWwvpF7QsCDD2W2Knr9O3K/0KlYnGLtKawqV8bFvcgxeBmM6OLL6w== 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=Iwny6lwB; 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 5A62E606A32A; Thu, 26 Nov 2026 00:10:06 +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=Iwny6lwB 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=1795651805; b=kGf+bW1so5JckUFXH/D+y6QpdCUn1s3oohh/ZPcNrAvujVJP2Jinwj7hpF8lCxnndVi2 uwrxz/QIC1E+g5K8Y6cXq3lu/Vy9Rxmpdyq6jVSRGQGsMvw34HaO8By53CgWVU/zPueuA w+9tMgzvRGgvSE93QwMr3J/SmU7hNJv+c5g6TYq3OSY7AVHJggIwa1SLATMpA7uSUm51Y w6CMD9aK8TAPG2GBNpiAh2wkw5fGcpKPDU7l2Ou4i4JhcW7UCP22wiFf/pBYvcyShPxlS hKn02y4n9zJQ4gBNbutchdbzAtDLFqVyxtpdExRZaU3ymDtS4vnvNS8Xow1d86zkIeg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795651805; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=7YlCoEoJkV6YaVDpx4dm/M10Ti1AWk1BcHSm4cKDbNU=; b=XEWGcMv69Vc0a0v6vUBKaw1Yfyek1WtKRPaysPus0SxdAAs8AI5o4T5w+QXUTGk9cLGs ZqQV1gXxjSWLVdOI5wN7jsk5YYX5oGOPT+OhAMjm6ffo+Qbe5wxWCaC87Erx1sworElRl cgr1FmNgRUrK0109DtIYil8WKG+4cwKu90cPB18oXj7NTtHQaK143ilysmYUCMyIGL3gq +1VxqJZX1s+fiXPInjhrz41Glhr0dfLL6Eknfqy4/LtV5YkTvWv7UZNBiZOSKMqNVbsMC eRBLB6AKbth2Fk6HVKzbzFuNt+BdQ4Lt3iLpLXd0ulr57eHGgSe2bkB4r/7cFnEJMRw== 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=Iwny6lwB; 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 776D6606A31E for <netdev@vger.kernel.org>; Thu, 26 Nov 2026 00:10:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4250D1F000C4; Thu, 26 Nov 2026 00:10:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795651805; bh=7YlCoEoJkV6YaVDpx4dm/M10Ti1AWk1BcHSm4cKDbNU=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Iwny6lwB+3NGr/3T/gwaZyZDMn04h/zhrSvigk/fJDcOzzqOMcWxemi+ksGDc1b13 bWKgxa0BT9e7MLFcR6K96KZIBAcHEO9syBv/6K8eqw772pz776KbRUOH6bdW0l3s6L N5KX1OmIy2FuRdHQT+OXN21ZvRV6zyB9lVP/XUdHTMFCnRfG3DQ2B57xp10bz/ZBKN joPfdZOOnrQvUZwYUhXorDhdI4w5vpCGS9Naf39dBJlaynOiK3mmwTyssf/9YsBcdt qfrXkKayv8kmdL+XtvnUJXgdsK/YsnGoxHyFtIrcoyM/X7WmSrqEYPGLHKhknRyv7L zha0vPcps0xRQ== 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 3A3193809A24; Thu, 26 Nov 2026 00:10: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: <20261123124458.205233-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, dsahern@kernel.org, idosch@nvidia.com, horms@kernel.org, netdev@vger.kernel.org, kuniyu@google.com