------------[ cut here ]------------ WARNING: CPU: 1 PID: 3765 at net/mac80211/tx.c:4928 __ieee80211_beacon_get+0x1ab2/0x2110 net/mac80211/tx.c:5247 Modules linked in: CPU: 1 PID: 3765 Comm: syz-executor211 Not tainted 6.1.74-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4928 [inline] RIP: 0010:__ieee80211_beacon_get+0x1ab2/0x2110 net/mac80211/tx.c:5247 Code: ff e8 02 f4 77 f7 0f 0b e9 64 ff ff ff e8 f6 f3 77 f7 0f 0b e9 79 e8 ff ff e8 ea f3 77 f7 0f 0b e9 9c ed ff ff e8 de f3 77 f7 <0f> 0b e9 30 f1 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 06 e9 RSP: 0018:ffffc900001e0820 EFLAGS: 00010246 RAX: ffffffff8a127ee2 RBX: 0000000000000000 RCX: ffff888077a88000 RDX: 0000000080000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900001e0a30 R08: ffffffff8a12700c R09: ffffffff8a126812 R10: 0000000000000003 R11: ffff888077a88000 R12: dffffc0000000000 R13: 1ffff9200003c11c R14: ffff88807550e260 R15: ffffffff8a1264e0 FS: 00007f1d7e5cd6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020158030 CR3: 0000000077ca1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb1/0x5d0 net/mac80211/tx.c:5334 ieee80211_beacon_get include/net/mac80211.h:5245 [inline] mac80211_hwsim_beacon_tx+0x1d2/0xaa0 drivers/net/wireless/mac80211_hwsim.c:2086 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd4/0x170 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1766 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x155/0x240 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:653 RIP: 0010:lock_release+0x6d/0xa20 kernel/locking/lockdep.c:5670 Code: 41 48 c7 44 24 68 38 85 8e 8c 48 c7 44 24 70 50 6a 6a 81 4c 8d 64 24 60 49 c1 ec 03 48 b8 f1 f1 f1 f1 04 f2 00 f2 4b 89 04 3c <48> b8 f2 f2 00 f3 f3 f3 f3 f3 4b 89 44 3c 08 0f 1f 44 00 00 65 8b RSP: 0018:ffffc9000403f820 EFLAGS: 00000a02 RAX: f200f204f1f1f1f1 RBX: 00000000201582c0 RCX: ffffffff816afe32 RDX: dffffc0000000000 RSI: ffffffff81cd92c1 RDI: ffff8880226b2e58 RBP: ffffc9000403f948 R08: dffffc0000000000 R09: fffffbfff209224b R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000807f10 R13: ffffffff81cd92c1 R14: ffffc9000403f9e0 R15: dffffc0000000000 _copy_from_user+0x26/0x170 lib/usercopy.c:14 copy_from_user include/linux/uaccess.h:161 [inline] copy_msghdr_from_user+0xaa/0x670 net/socket.c:2444 recvmsg_copy_msghdr net/socket.c:2699 [inline] ___sys_recvmsg net/socket.c:2771 [inline] do_recvmmsg+0x408/0xad0 net/socket.c:2869 __sys_recvmmsg net/socket.c:2948 [inline] __do_sys_recvmmsg net/socket.c:2971 [inline] __se_sys_recvmmsg net/socket.c:2964 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2964 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1d7e62ee09 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1a 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1d7e5cd228 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f1d7e6b8378 RCX: 00007f1d7e62ee09 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f1d7e6b8370 R08: 0000000000000000 R09: 00007f1d7e5cd6c0 R10: 0000000000000002 R11: 0000000000000246 R12: 00007f1d7e6b837c R13: 00007f1d7e6851c4 R14: 0031313230386c6e R15: 00007ffc95b74e18 ---------------- Code disassembly (best guess): 0: 41 rex.B 1: 48 c7 44 24 68 38 85 movq $0xffffffff8c8e8538,0x68(%rsp) 8: 8e 8c a: 48 c7 44 24 70 50 6a movq $0xffffffff816a6a50,0x70(%rsp) 11: 6a 81 13: 4c 8d 64 24 60 lea 0x60(%rsp),%r12 18: 49 c1 ec 03 shr $0x3,%r12 1c: 48 b8 f1 f1 f1 f1 04 movabs $0xf200f204f1f1f1f1,%rax 23: f2 00 f2 26: 4b 89 04 3c mov %rax,(%r12,%r15,1) * 2a: 48 b8 f2 f2 00 f3 f3 movabs $0xf3f3f3f3f300f2f2,%rax <-- trapping instruction 31: f3 f3 f3 34: 4b 89 44 3c 08 mov %rax,0x8(%r12,%r15,1) 39: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3e: 65 gs 3f: 8b .byte 0x8b