From: Francesco Dolcini <francesco@dolcini.it>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Francesco Dolcini <francesco@dolcini.it>,
stable@vger.kernel.org, Sasha Levin <sashal@kernel.org>,
Kuniyuki Iwashima <kuniyu@google.com>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>
Subject: Re: [linux-6.6.y] 6.6.158-rc1: stale ASSERT_RTNL() in __ipv6_dev_mc_dec() WARNs on IPV6_LEAVE_GROUP
Date: Mon, 21 Sep 2026 16:24:42 +0200 [thread overview]
Message-ID: <20260921142442.GA276016@francesco-nb> (raw)
In-Reply-To: <2026092115-magnetism-breeching-5d92@gregkh>
On Mon, Sep 21, 2026 at 02:24:41PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Sep 21, 2026 at 09:43:48AM +0200, Francesco Dolcini wrote:
> > Hello all,
> >
> > Disclaimer: the commit/root-cause analysis below was produced with LLM
> > assistance. The failure itself is reproduced and verified by our CI/CD
> > (LAVA on-target test).
> >
> > Our CI reproducibly hits this WARN on linux-6.6.y at 02cc578650be
> > (6.6.158-rc1), on i.MX6, when a process leaves an IPv6 multicast group
> > (e.g. avahi-daemon around a link flap):
> >
> > WARNING: CPU: 0 PID: 418 at net/ipv6/mcast.c:1013 __ipv6_dev_mc_dec+0x180/0x184 [ipv6]
> > RTNL: assertion failed at net/ipv6/mcast.c (1013)
> > __ipv6_dev_mc_dec [ipv6] from ipv6_sock_mc_drop+0x144/0x240 [ipv6]
> > ipv6_sock_mc_drop [ipv6] from do_ipv6_setsockopt+0x92c/0x1a48 [ipv6]
> >
> > Cause: 24e6c4f46cd4 ("ipv6: mcast: Don't hold RTNL for IPV6_DROP_MEMBERSHIP
> > and MCAST_LEAVE_GROUP.", upstream 2ceb71ce7d34) is in 6.6.y and drops RTNL
> > from ipv6_sock_mc_drop(), but its same-series sibling e01b193e0b50
> > ("ipv6: mcast: Use in6_dev_get() in ipv6_dev_mc_dec().", stable pick
> > 98363feee397), which removes the now-stale ASSERT_RTNL() in
> > __ipv6_dev_mc_dec(), was not backported alongside it.
> >
> > Could 98363feee39760011bd2225558c0fef9487c449f be applied to linux-6.6.y?
> > Or the problematic commit should be dropped
>
> There is no such commit id with that number in Linus's tree :(
> Did your LLM make it up?
For sure it did ... and this is the reason I was upfront that the
analysis is from an LLM :-(
What I know as a fact is this WARNING exist, the related folks and in Cc: and
they can provide better guidance on what we should do (drop the patch or
add some missing dependency).
Thanks,
Francesco
next prev parent reply other threads:[~2026-09-21 14:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 7:43 [linux-6.6.y] 6.6.158-rc1: stale ASSERT_RTNL() in __ipv6_dev_mc_dec() WARNs on IPV6_LEAVE_GROUP Francesco Dolcini
2026-09-21 7:47 ` Francesco Dolcini
2026-09-22 15:38 ` Sasha Levin
2026-09-21 12:24 ` Greg Kroah-Hartman
2026-09-21 14:24 ` Francesco Dolcini [this message]
2026-09-21 14:29 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260921142442.GA276016@francesco-nb \
--to=francesco@dolcini.it \
--cc=edumazet@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox