------------[ cut here ]------------ WARNING: CPU: 0 PID: 30 at net/mac80211/tx.c:5007 __ieee80211_beacon_get+0x1150/0x14f0 net/mac80211/tx.c:5416 Modules linked in: CPU: 0 PID: 30 Comm: kworker/u4:2 Not tainted 6.4.0-rc1-syzkaller-00109-gcc3c44c9fda2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5007 [inline] RIP: 0010:__ieee80211_beacon_get+0x1150/0x14f0 net/mac80211/tx.c:5416 Code: c0 48 00 8c e8 f1 e1 44 f7 e8 7c 8b 4e f7 e8 57 80 00 00 48 89 e8 48 83 c4 58 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 10 a8 64 f7 <0f> 0b e9 23 f7 ff ff e8 04 a8 64 f7 0f 0b e9 20 f9 ff ff 44 89 e1 RSP: 0018:ffffc900000079c8 EFLAGS: 00010246 RAX: ffffffff8a25f520 RBX: 0000000000000000 RCX: ffff8880174b9dc0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8a25ec3d R09: ffffffff8a25e6ae R10: 0000000000000003 R11: ffff8880174b9dc0 R12: ffff88806bac2918 R13: ffff88806bac0c80 R14: ffff88806b089400 R15: ffff88806bac23d8 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203c3030 CR3: 0000000018ece000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb9/0x5b0 net/mac80211/tx.c:5543 ieee80211_beacon_get include/net/mac80211.h:5384 [inline] mac80211_hwsim_beacon_tx+0x35c/0x730 drivers/net/wireless/virtual/mac80211_hwsim.c:2253 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:766 ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:802 mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/virtual/mac80211_hwsim.c:2283 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x59b/0xd00 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1766 __do_softirq+0x2a7/0x8fc kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x155/0x230 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x256/0x520 kernel/locking/lockdep.c:5695 Code: 2b 00 74 08 4c 89 f7 e8 88 4b 7a 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90000a6fa80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200014df5c RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8aebf5a0 RDI: ffffffff8b3da6c0 RBP: ffffc90000a6fbd8 R08: dffffc0000000000 R09: fffffbfff20a1239 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200014df58 R13: dffffc0000000000 R14: ffffc90000a6fae0 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:327 rcu_read_lock include/linux/rcupdate.h:773 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x894/0x10c0 kernel/workqueue.c:2405 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2552 kthread+0x2aa/0x340 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 ---------------- Code disassembly (best guess): 0: 2b 00 sub (%rax),%eax 2: 74 08 je 0xc 4: 4c 89 f7 mov %r14,%rdi 7: e8 88 4b 7a 00 callq 0x7a4b94 c: f6 44 24 61 02 testb $0x2,0x61(%rsp) 11: 0f 85 84 01 00 00 jne 0x19b 17: 41 f7 c7 00 02 00 00 test $0x200,%r15d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp) 28: e0 45 * 2a: 4b c7 44 25 00 00 00 movq $0x0,0x0(%r13,%r12,1) <-- trapping instruction 31: 00 00 33: 43 c7 44 25 09 00 00 movl $0x0,0x9(%r13,%r12,1) 3a: 00 00 3c: 43 rex.XB 3d: c7 .byte 0xc7 3e: 44 rex.R 3f: 25 .byte 0x25