================================================================== BUG: KCSAN: data-race in __packet_rcv_has_room / __packet_set_status write to 0xffff88818f020580 of 8 bytes by task 9 on cpu 0: __packet_set_status+0x78/0xa0 net/packet/af_packet.c:407 tpacket_rcv+0x18bb/0x1a60 net/packet/af_packet.c:2483 dev_queue_xmit_nit+0x589/0x5e0 net/core/dev.c:2281 xmit_one net/core/dev.c:3574 [inline] dev_hard_start_xmit+0xcf/0x3f0 net/core/dev.c:3594 __dev_queue_xmit+0xefb/0x1d10 net/core/dev.c:4244 dev_queue_xmit include/linux/netdevice.h:3088 [inline] batadv_send_skb_packet+0x264/0x2f0 net/batman-adv/send.c:108 batadv_send_broadcast_skb+0x24/0x30 net/batman-adv/send.c:127 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:392 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x3f0/0x4a0 net/batman-adv/bat_iv_ogm.c:1700 process_one_work+0x3e6/0x750 kernel/workqueue.c:2405 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2552 kthread+0x1d7/0x210 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 read to 0xffff88818f020580 of 8 bytes by interrupt on cpu 1: __packet_get_status net/packet/af_packet.c:436 [inline] packet_lookup_frame net/packet/af_packet.c:524 [inline] __tpacket_has_room net/packet/af_packet.c:1255 [inline] __packet_rcv_has_room+0x3f9/0x450 net/packet/af_packet.c:1298 tpacket_rcv+0x275/0x1a60 net/packet/af_packet.c:2285 dev_queue_xmit_nit+0x589/0x5e0 net/core/dev.c:2281 xmit_one net/core/dev.c:3574 [inline] dev_hard_start_xmit+0xcf/0x3f0 net/core/dev.c:3594 __dev_queue_xmit+0xefb/0x1d10 net/core/dev.c:4244 dev_queue_xmit include/linux/netdevice.h:3088 [inline] hsr_xmit net/hsr/hsr_forward.c:382 [inline] hsr_forward_do net/hsr/hsr_forward.c:473 [inline] hsr_forward_skb+0xa6b/0x1010 net/hsr/hsr_forward.c:620 send_hsr_supervision_frame+0x34c/0x420 net/hsr/hsr_device.c:326 hsr_announce+0x6e/0x110 net/hsr/hsr_device.c:382 call_timer_fn+0x35/0x290 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x46c/0x650 kernel/time/timer.c:2022 run_timer_softirq+0x1d/0x40 kernel/time/timer.c:2035 __do_softirq+0xc1/0x265 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x57/0xa0 kernel/softirq.c:650 sysvec_apic_timer_interrupt+0x6d/0x80 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] acpi_safe_halt+0x20/0x30 drivers/acpi/processor_idle.c:112 acpi_idle_do_entry+0x19/0x30 drivers/acpi/processor_idle.c:573 acpi_idle_enter+0x96/0xb0 drivers/acpi/processor_idle.c:711 cpuidle_enter_state+0xc6/0x260 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x40/0x60 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:134 [inline] cpuidle_idle_call kernel/sched/idle.c:215 [inline] do_idle+0x194/0x230 kernel/sched/idle.c:282 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379 start_secondary+0x7c/0x80 arch/x86/kernel/smpboot.c:269 secondary_startup_64_no_verify+0xf5/0xfb value changed: 0x0000000000000000 -> 0x0000000000000005 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 6.4.0-rc5-syzkaller-00313-g4c605260bc60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 ==================================================================