bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) ================================================================== BUG: KCSAN: data-race in br_fdb_update / br_fdb_update read to 0xffff8881046fd8c0 of 8 bytes by interrupt on cpu 1: br_fdb_update+0x10e/0x480 net/bridge/br_fdb.c:910 br_handle_frame_finish+0x32e/0xe70 net/bridge/br_input.c:141 br_nf_hook_thresh+0x1e5/0x220 br_nf_pre_routing_finish_ipv6+0x575/0x5a0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x1f6/0x2a0 net/bridge/br_netfilter_ipv6.c:184 br_nf_pre_routing+0x517/0xbc0 net/bridge/br_netfilter_hooks.c:532 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x4dd/0x9a0 net/bridge/br_input.c:424 __netif_receive_skb_core+0xb00/0x2310 net/core/dev.c:5560 __netif_receive_skb_one_core net/core/dev.c:5664 [inline] __netif_receive_skb+0x5a/0x280 net/core/dev.c:5779 process_backlog+0x22e/0x440 net/core/dev.c:6111 __napi_poll+0x63/0x3c0 net/core/dev.c:6775 napi_poll net/core/dev.c:6844 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:6966 handle_softirqs+0xbf/0x280 kernel/softirq.c:554 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:927 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 write to 0xffff8881046fd8c0 of 8 bytes by interrupt on cpu 0: br_fdb_update+0x142/0x480 net/bridge/br_fdb.c:911 br_handle_frame_finish+0x32e/0xe70 net/bridge/br_input.c:141 br_nf_hook_thresh+0x1e5/0x220 br_nf_pre_routing_finish_ipv6+0x575/0x5a0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x1f6/0x2a0 net/bridge/br_netfilter_ipv6.c:184 br_nf_pre_routing+0x517/0xbc0 net/bridge/br_netfilter_hooks.c:532 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x4dd/0x9a0 net/bridge/br_input.c:424 __netif_receive_skb_core+0xb00/0x2310 net/core/dev.c:5560 __netif_receive_skb_one_core net/core/dev.c:5664 [inline] __netif_receive_skb+0x5a/0x280 net/core/dev.c:5779 process_backlog+0x22e/0x440 net/core/dev.c:6111 __napi_poll+0x63/0x3c0 net/core/dev.c:6775 napi_poll net/core/dev.c:6844 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:6966 handle_softirqs+0xbf/0x280 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x36/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x4d5/0x5b0 drivers/net/netdevsim/dev.c:850 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x0000000100001146 -> 0x0000000100001147 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 6628 Comm: kworker/0:10 Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work ================================================================== bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:6a:f5:fa:fd:8c:85, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:6a:f5:fa:fd:8c:85, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:d2:d3:51:e8:6e:cc, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:d2:d3:51:e8:6e:cc, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)