Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [linux-6.6.y] 6.6.158-rc1: stale ASSERT_RTNL() in __ipv6_dev_mc_dec() WARNs on IPV6_LEAVE_GROUP
@ 2026-09-21  7:43 Francesco Dolcini
  2026-09-21  7:47 ` Francesco Dolcini
  2026-09-21 12:24 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 6+ messages in thread
From: Francesco Dolcini @ 2026-09-21  7:43 UTC (permalink / raw)
  To: stable, Sasha Levin, Greg Kroah-Hartman
  Cc: KuniyukiIwashimakuniyu, EricDumazetedumazet, JakubKicinskikuba

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

Francesco


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-22 15:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2026-09-21 14:29     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox