
Eric WoudstraandGreg Kroah-Hartman
7043c73a64
bridge: br_vlan_fill_forward_path_pvid: use br_vlan_group_rcu()
[ Upstream commit bbf0c98b3a ]
net/bridge/br_private.h:1627 suspicious rcu_dereference_protected() usage!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
7 locks held by socat/410:
#0: ffff88800d7a9c90 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x43/0xa0
#1: ffffffff9a779900 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x62/0x1830
[..]
#6: ffffffff9a779900 (rcu_read_lock){....}-{1:3}, at: nf_hook.constprop.0+0x8a/0x440
Call Trace:
lockdep_rcu_suspicious.cold+0x4f/0xb1
br_vlan_fill_forward_path_pvid+0x32c/0x410 [bridge]
br_fill_forward_path+0x7a/0x4d0 [bridge]
Use to correct helper, non _rcu variant requires RTNL mutex.
Fixes: bcf2766b13 ("net: bridge: resolve forwarding path for VLAN tag actions in bridge devices")
Signed-off-by: Eric Woudstra <ericwouds@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-19 16:23:09 +02:00
..
2025-10-15 11:56:25 +02:00
2025-07-24 08:51:53 +02:00
2025-08-15 12:04:47 +02:00
2025-09-09 18:54:16 +02:00
2025-09-09 18:54:16 +02:00
2025-09-09 18:54:18 +02:00
2025-10-15 11:56:37 +02:00
2025-10-19 16:23:09 +02:00
2025-08-15 12:04:56 +02:00
2025-09-19 16:29:58 +02:00
2025-09-19 16:29:57 +02:00
2025-10-19 16:23:09 +02:00
2025-09-09 18:54:20 +02:00
2025-04-25 10:43:25 +02:00
2025-09-19 16:30:00 +02:00
2025-10-19 16:23:08 +02:00
2025-10-02 13:40:43 +02:00
2025-06-04 14:40:21 +02:00
2025-10-15 11:56:35 +02:00
2025-09-09 18:54:15 +02:00
2025-06-27 11:07:39 +01:00
2025-09-25 10:58:54 +02:00
2025-08-28 16:25:58 +02:00
2025-10-15 11:56:36 +02:00
2025-06-27 11:07:25 +01:00
2025-08-28 16:25:48 +02:00
2025-10-15 11:56:39 +02:00
2025-06-27 11:07:12 +01:00
2025-08-15 12:05:11 +02:00
2025-07-24 08:51:48 +02:00
2025-09-25 10:58:53 +02:00
2025-09-25 10:58:55 +02:00
2025-09-04 15:26:30 +02:00
2025-07-17 18:32:06 +02:00
2025-08-28 16:26:18 +02:00
2025-10-19 16:23:08 +02:00
2025-09-09 18:54:15 +02:00
2025-09-19 16:29:56 +02:00
2025-03-28 21:58:49 +01:00
2025-10-02 13:40:41 +02:00
2025-09-25 10:58:51 +02:00
2025-07-06 10:58:00 +02:00
2025-08-28 16:26:07 +02:00
2025-09-09 18:54:15 +02:00
2025-03-28 21:59:01 +01:00
2025-08-15 12:04:46 +02:00
2025-06-04 14:40:23 +02:00