================================================================== BUG: KCSAN: data-race in batadv_bla_tx / batadv_bla_tx write to 0xffff8881152fe3a0 of 8 bytes by interrupt on cpu 1: batadv_bla_update_own_backbone_gw net/batman-adv/bridge_loop_avoidance.c:577 [inline] batadv_bla_tx+0x7b4/0xc40 net/batman-adv/bridge_loop_avoidance.c:2106 batadv_interface_tx+0x314/0xaf0 net/batman-adv/soft-interface.c:240 __netdev_start_xmit include/linux/netdevice.h:4916 [inline] netdev_start_xmit include/linux/netdevice.h:4925 [inline] xmit_one net/core/dev.c:3588 [inline] dev_hard_start_xmit+0x119/0x3f0 net/core/dev.c:3604 __dev_queue_xmit+0xfe6/0x1fe0 net/core/dev.c:4424 dev_queue_xmit include/linux/netdevice.h:3094 [inline] br_dev_queue_push_xmit+0x425/0x4e0 net/bridge/br_forward.c:53 NF_HOOK include/linux/netfilter.h:314 [inline] br_forward_finish+0x90/0x160 net/bridge/br_forward.c:66 br_nf_forward_finish+0x6b1/0x720 net/bridge/br_netfilter_hooks.c:689 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_forward_arp net/bridge/br_netfilter_hooks.c:779 [inline] br_nf_forward+0xae2/0xe70 net/bridge/br_netfilter_hooks.c:802 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0x86/0x1b0 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK include/linux/netfilter.h:312 [inline] __br_forward+0x27d/0x360 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver+0x1c0/0x260 net/bridge/br_forward.c:190 br_flood+0x246/0x470 net/bridge/br_forward.c:236 br_handle_frame_finish+0xcfb/0xe70 net/bridge/br_input.c:215 nf_hook_bridge_pre net/bridge/br_input.c:299 [inline] br_handle_frame+0x5a0/0x9a0 net/bridge/br_input.c:424 __netif_receive_skb_core+0xb00/0x2310 net/core/dev.c:5556 __netif_receive_skb_one_core net/core/dev.c:5660 [inline] __netif_receive_skb+0x5a/0x280 net/core/dev.c:5775 process_backlog+0x22e/0x440 net/core/dev.c:6107 __napi_poll+0x63/0x3c0 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:6962 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 0xffff8881152fe3a0 of 8 bytes by interrupt on cpu 0: batadv_bla_update_own_backbone_gw net/batman-adv/bridge_loop_avoidance.c:577 [inline] batadv_bla_tx+0x7b4/0xc40 net/batman-adv/bridge_loop_avoidance.c:2106 batadv_interface_tx+0x314/0xaf0 net/batman-adv/soft-interface.c:240 __netdev_start_xmit include/linux/netdevice.h:4916 [inline] netdev_start_xmit include/linux/netdevice.h:4925 [inline] xmit_one net/core/dev.c:3588 [inline] dev_hard_start_xmit+0x119/0x3f0 net/core/dev.c:3604 __dev_queue_xmit+0xfe6/0x1fe0 net/core/dev.c:4424 dev_queue_xmit include/linux/netdevice.h:3094 [inline] br_dev_queue_push_xmit+0x425/0x4e0 net/bridge/br_forward.c:53 NF_HOOK include/linux/netfilter.h:314 [inline] br_forward_finish+0x90/0x160 net/bridge/br_forward.c:66 br_nf_forward_finish+0x6b1/0x720 net/bridge/br_netfilter_hooks.c:689 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_forward_arp net/bridge/br_netfilter_hooks.c:779 [inline] br_nf_forward+0xae2/0xe70 net/bridge/br_netfilter_hooks.c:802 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0x86/0x1b0 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK include/linux/netfilter.h:312 [inline] __br_forward+0x27d/0x360 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver+0x1c0/0x260 net/bridge/br_forward.c:190 br_flood+0x246/0x470 net/bridge/br_forward.c:236 br_handle_frame_finish+0xcfb/0xe70 net/bridge/br_input.c:215 nf_hook_bridge_pre net/bridge/br_input.c:299 [inline] br_handle_frame+0x5a0/0x9a0 net/bridge/br_input.c:424 __netif_receive_skb_core+0xb00/0x2310 net/core/dev.c:5556 __netif_receive_skb_one_core net/core/dev.c:5660 [inline] __netif_receive_skb+0x5a/0x280 net/core/dev.c:5775 process_backlog+0x22e/0x440 net/core/dev.c:6107 __napi_poll+0x63/0x3c0 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:6962 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] batadv_nc_purge_paths+0x220/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xad0 net/batman-adv/network-coding.c:722 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: 0x00000000ffffd501 -> 0x00000000ffffd502 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 50 Comm: kworker/u8:3 Not tainted 6.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker ==================================================================