
Eric WoudstraandGreg Kroah-Hartman
46362cdd9d
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:30:45 +02:00
..
2025-10-12 12:56:23 +02:00
2025-07-24 08:53:19 +02:00
2025-08-01 09:47:29 +01:00
2025-09-09 18:56:25 +02:00
2025-09-09 18:56:25 +02:00
2025-09-09 18:56:27 +02:00
2025-10-15 11:58:05 +02:00
2025-02-27 04:10:50 -08:00
2025-10-19 16:30:45 +02:00
2025-08-15 12:08:45 +02:00
2025-09-19 16:32:06 +02:00
2025-09-19 16:32:04 +02:00
2025-10-19 16:30:44 +02:00
2025-09-09 18:56:31 +02:00
2025-04-25 10:45:07 +02:00
2025-09-19 16:32:06 +02:00
2025-05-09 09:43:57 +02:00
2025-10-19 16:30:43 +02:00
2025-09-25 11:00:10 +02:00
2025-06-04 14:42:20 +02:00
2025-10-15 11:58:02 +02:00
2025-09-09 18:56:24 +02:00
2025-06-27 11:09:02 +01:00
2025-09-25 11:00:10 +02:00
2025-08-28 16:28:24 +02:00
2025-10-19 16:30:44 +02:00
2025-06-19 15:28:46 +02:00
2025-09-09 18:56:22 +02:00
2025-10-15 11:58:08 +02:00
2025-06-19 15:28:19 +02:00
2025-08-15 12:09:05 +02:00
2025-07-24 08:53:12 +02:00
2025-09-25 11:00:08 +02:00
2025-09-25 11:00:08 +02:00
2025-09-04 15:30:28 +02:00
2025-07-24 08:53:20 +02:00
2025-08-28 16:28:49 +02:00
2025-10-19 16:30:43 +02:00
2025-09-09 18:56:24 +02:00
2025-02-27 04:10:50 -08:00
2025-10-15 11:58:09 +02:00
2025-03-22 12:50:39 -07:00
2025-07-17 18:35:09 +02:00
2025-09-25 11:00:06 +02:00
2025-07-06 11:00:12 +02:00
2025-08-28 16:28:36 +02:00
2025-09-09 18:56:24 +02:00
2025-03-28 21:59:55 +01:00
2025-10-02 13:42:50 +02:00
2025-06-04 14:42:22 +02:00