Netdev List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Weiming Shi <bestswngs@gmail.com>
Cc: jmaloy@redhat.com, davem@davemloft.net, edumazet@google.com,
	kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
	netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, tung.quang.nguyen@est.tech,
	xmei5@asu.edu
Subject: Re: [PATCH net v6] tipc: serialize udp bearer replicast list updates
Date: Tue, 21 Jul 2026 19:00:07 +0000	[thread overview]
Message-ID: <178466040764.954483.2357191864553594311.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260716025203.9332-2-bestswngs@gmail.com>

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 15 Jul 2026 19:52:04 -0700 you wrote:
> tipc_udp_rcast_add() and cleanup_bearer() both update ub->rcast.list with
> list_add_rcu() / list_del_rcu(), but nothing serializes them. The add runs
> from the encap receive softirq (via tipc_udp_rcast_disc()) without
> rtnl_lock(), so it can race the cleanup delete and corrupt the list:
> 
>   list_del corruption. prev->next should be ffff8880298d7ab8,
>     but was ffff88802449ad38. (prev=ffff888027e3ec98)
>   kernel BUG at lib/list_debug.c:62!
>   RIP: __list_del_entry_valid_or_report+0x17a/0x200
>   Workqueue: events cleanup_bearer
>   Call Trace:
>    cleanup_bearer (net/tipc/udp_media.c:811)
>    process_one_work (kernel/workqueue.c:3302)
>    worker_thread (kernel/workqueue.c:3466)
> 
> [...]

Here is the summary with links:
  - [net,v6] tipc: serialize udp bearer replicast list updates
    https://git.kernel.org/netdev/net/c/350e592ff4e3

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2026-07-21 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-16  2:52 [PATCH net v6] tipc: serialize udp bearer replicast list updates Weiming Shi
2026-07-17  9:13 ` Tung Quang Nguyen
2026-07-21 19:00 ` patchwork-bot+netdevbpf [this message]

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=178466040764.954483.2357191864553594311.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=bestswngs@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jmaloy@redhat.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=tipc-discussion@lists.sourceforge.net \
    --cc=tung.quang.nguyen@est.tech \
    --cc=xmei5@asu.edu \
    /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