------------[ cut here ]------------ WARNING: CPU: 1 PID: 3844 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Modules linked in: CPU: 1 PID: 3844 Comm: syz-executor240 Not tainted 5.15.168-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] RIP: 0010:__ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Code: ff e8 47 de b4 f7 0f 0b e9 4b fa ff ff e8 3b de b4 f7 0f 0b e9 3b fe ff ff e8 2f de b4 f7 0f 0b e9 06 ee ff ff e8 23 de b4 f7 <0f> 0b e9 91 f0 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2d ea RSP: 0018:ffffc90000dd0840 EFLAGS: 00010246 RAX: ffffffff89cb950d RBX: 0000000000000000 RCX: ffff888024505940 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000dd0a70 R08: ffffffff89cb8598 R09: ffffffff89cb7f6b R10: 0000000000000003 R11: ffff888024505940 R12: dffffc0000000000 R13: ffff88806fdfcc80 R14: ffff88806fdfe298 R15: 1ffff920001ba118 FS: 00007feaed0e86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feaed0e71b8 CR3: 0000000074ed9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb7/0x950 net/mac80211/tx.c:5194 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0xe2/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1812 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1769 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x16c/0x1f0 kernel/softirq.c:390 Code: 8a e8 08 d9 e6 08 65 66 8b 05 30 0e b6 7e 66 85 c0 75 57 bf 01 00 00 00 e8 11 f2 09 00 e8 dc 66 39 00 fb 65 8b 05 1c e5 b4 7e <85> c0 75 05 e8 eb 01 b3 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc90003837ae0 EFLAGS: 00000282 RAX: 0000000080000000 RBX: 1ffff92000706f60 RCX: ffffffff81632d78 RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: ffffffff8ad90280 RBP: ffffc90003837b90 R08: dffffc0000000000 R09: fffffbfff20ec627 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000706f64 R14: ffffc90003837b20 R15: 0000000000000201 nl80211_netlink_notify+0x45c/0x810 net/wireless/nl80211.c:18065 notifier_call_chain kernel/notifier.c:83 [inline] blocking_notifier_call_chain+0x104/0x1b0 kernel/notifier.c:318 netlink_release+0xfb0/0x1800 net/netlink/af_netlink.c:790 __sock_release net/socket.c:649 [inline] sock_close+0xcd/0x230 net/socket.c:1336 __fput+0x3fe/0x8e0 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7feaed16a91a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 93 82 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 f3 82 02 00 8b 44 24 RSP: 002b:00007feaed0e71a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000022 RCX: 00007feaed16a91a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007feaed1f544c R13: 00007feaed1c2364 R14: 0031313230386c6e R15: 00007ffd8c5796e8 ---------------- Code disassembly (best guess): 0: 8a e8 mov %al,%ch 2: 08 d9 or %bl,%cl 4: e6 08 out %al,$0x8 6: 65 66 8b 05 30 0e b6 mov %gs:0x7eb60e30(%rip),%ax # 0x7eb60e3e d: 7e e: 66 85 c0 test %ax,%ax 11: 75 57 jne 0x6a 13: bf 01 00 00 00 mov $0x1,%edi 18: e8 11 f2 09 00 call 0x9f22e 1d: e8 dc 66 39 00 call 0x3966fe 22: fb sti 23: 65 8b 05 1c e5 b4 7e mov %gs:0x7eb4e51c(%rip),%eax # 0x7eb4e546 * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 75 05 jne 0x33 2e: e8 eb 01 b3 ff call 0xffb3021e 33: 48 c7 44 24 20 0e 36 movq $0x45e0360e,0x20(%rsp) 3a: e0 45 3c: 49 rex.WB 3d: c7 .byte 0xc7 3e: 04 1c add $0x1c,%al