------------[ cut here ]------------ WARNING: CPU: 1 PID: 5810 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Modules linked in: CPU: 1 PID: 5810 Comm: syz.0.428 Not tainted 5.15.169-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 17 34 b5 f7 0f 0b e9 4b fa ff ff e8 0b 34 b5 f7 0f 0b e9 3b fe ff ff e8 ff 33 b5 f7 0f 0b e9 06 ee ff ff e8 f3 33 b5 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: ffffffff89cb3fed RBX: 0000000000000000 RCX: ffff888022b38000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000dd0a70 R08: ffffffff89cb3078 R09: ffffffff89cb2a4b R10: 0000000000000003 R11: ffff888022b38000 R12: dffffc0000000000 R13: ffff8880627e4c80 R14: ffff8880627e6298 R15: 1ffff920001ba118 FS: 00007f4cc2a8b6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200fc030 CR3: 000000005d2de000 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_call_function_single arch/x86/kernel/smp.c:243 [inline] sysvec_call_function_single+0x9d/0xc0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:684 RIP: 0010:unix_wait_for_peer+0x1b2/0x330 net/unix/af_unix.c:1298 Code: 89 de 48 83 e6 01 31 ff e8 3b 5a 75 f8 48 83 e3 01 0f 85 b1 00 00 00 49 8d 9e 80 04 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 1d 01 00 00 0f b6 1b 89 de 83 e6 01 31 ff e8 87 58 75 RSP: 0018:ffffc90004417640 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: ffff88802c7bdc80 RCX: ffff888022b38000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004417730 R08: ffffffff890b1d85 R09: ffffed10058f7b0d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802c7bdec0 R13: dffffc0000000000 R14: ffff88802c7bd800 R15: 1ffff92000882ecc unix_dgram_sendmsg+0x1441/0x2090 net/unix/af_unix.c:1899 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2436 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2490 __sys_sendmmsg+0x2bf/0x560 net/socket.c:2576 __do_sys_sendmmsg net/socket.c:2605 [inline] __se_sys_sendmmsg net/socket.c:2602 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2602 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4cc4613719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4cc2a8b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f4cc47caf80 RCX: 00007f4cc4613719 RDX: 0000000000000651 RSI: 0000000020000000 RDI: 0000000000000007 RBP: 00007f4cc46862be R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4cc47caf80 R15: 00007ffdedbb3368 ---------------- Code disassembly (best guess): 0: 89 de mov %ebx,%esi 2: 48 83 e6 01 and $0x1,%rsi 6: 31 ff xor %edi,%edi 8: e8 3b 5a 75 f8 call 0xf8755a48 d: 48 83 e3 01 and $0x1,%rbx 11: 0f 85 b1 00 00 00 jne 0xc8 17: 49 8d 9e 80 04 00 00 lea 0x480(%r14),%rbx 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 85 1d 01 00 00 jne 0x14f 32: 0f b6 1b movzbl (%rbx),%ebx 35: 89 de mov %ebx,%esi 37: 83 e6 01 and $0x1,%esi 3a: 31 ff xor %edi,%edi 3c: e8 .byte 0xe8 3d: 87 58 75 xchg %ebx,0x75(%rax)