------------[ cut here ]------------ WARNING: CPU: 0 PID: 10187 at net/mac80211/tx.c:5039 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5039 [inline] WARNING: CPU: 0 PID: 10187 at net/mac80211/tx.c:5039 __ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5466 Modules linked in: CPU: 0 PID: 10187 Comm: syz-executor205 Not tainted 6.9.0-rc4-next-20240418-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5039 [inline] RIP: 0010:__ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5466 Code: e8 45 f5 94 f6 eb 0d e8 3e f5 94 f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 2e ac ee f6 45 31 ed e9 4e fe ff ff e8 21 f5 94 f6 90 <0f> 0b 90 e9 02 f7 ff ff e8 13 f5 94 f6 90 0f 0b 90 e9 ea f8 ff ff RSP: 0018:ffffc90000007a00 EFLAGS: 00010246 RAX: ffffffff8b01686f RBX: 0000000000000000 RCX: ffff888023f80000 RDX: 0000000080000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8b015f6d R09: ffffffff8b015970 R10: 0000000000000003 R11: ffff888023f80000 R12: ffff8880278362d0 R13: ffff88801f954c00 R14: ffff888027836750 R15: ffff888027834ca0 FS: 00007ff2f4bad6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020215030 CR3: 0000000029804000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5593 ieee80211_beacon_get include/net/mac80211.h:5562 [inline] mac80211_hwsim_beacon_tx+0x398/0x7e0 drivers/net/wireless/virtual/mac80211_hwsim.c:2302 __iterate_interfaces+0x223/0x4c0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2332 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1756 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1773 __do_softirq+0x2c6/0x980 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:kasan_check_range+0x1ba/0x290 mm/kasan/generic.c:189 Code: fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b 41 5c <41> 5e 41 5f 5d c3 cc cc cc cc 40 84 ed 75 5f f7 c5 00 ff 00 00 75 RSP: 0018:ffffc9000354f780 EFLAGS: 00000256 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8172b284 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fabdf28 RBP: 0000000000000000 R08: ffffffff8fabdf2f R09: 1ffffffff1f57be5 R10: dffffc0000000000 R11: fffffbfff1f57be6 R12: 1ffff920006a9efc R13: dffffc0000000000 R14: dffffc0000000001 R15: fffffbfff1f57be6 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:538 [inline] cpu_online include/linux/cpumask.h:1148 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xd4/0x550 kernel/locking/lockdep.c:5725 __might_fault+0xc6/0x120 mm/memory.c:6226 _copy_from_user+0x2a/0xe0 lib/usercopy.c:14 copy_from_user include/linux/uaccess.h:183 [inline] copy_msghdr_from_user+0xae/0x680 net/socket.c:2514 recvmsg_copy_msghdr net/socket.c:2769 [inline] ___sys_recvmsg net/socket.c:2841 [inline] do_recvmmsg+0x40f/0xae0 net/socket.c:2939 __sys_recvmmsg net/socket.c:3018 [inline] __do_sys_recvmmsg net/socket.c:3041 [inline] __se_sys_recvmmsg net/socket.c:3034 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff2f4c23569 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 1f 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:00007ff2f4bad168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007ff2f4cac1f8 RCX: 00007ff2f4c23569 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007ff2f4cac1f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 00007ff2f4cac1fc R13: 000000000000006e R14: 00007ffff2666380 R15: 00007ffff2666468 ---------------- Code disassembly (best guess): 0: fb sti 1: 48 8d 5d 07 lea 0x7(%rbp),%rbx 5: 48 85 ed test %rbp,%rbp 8: 48 0f 49 dd cmovns %rbp,%rbx c: 48 83 e3 f8 and $0xfffffffffffffff8,%rbx 10: 48 29 dd sub %rbx,%rbp 13: 74 12 je 0x27 15: 41 80 3b 00 cmpb $0x0,(%r11) 19: 0f 85 a6 00 00 00 jne 0xc5 1f: 49 ff c3 inc %r11 22: 48 ff cd dec %rbp 25: 75 ee jne 0x15 27: 5b pop %rbx 28: 41 5c pop %r12 * 2a: 41 5e pop %r14 <-- trapping instruction 2c: 41 5f pop %r15 2e: 5d pop %rbp 2f: c3 ret 30: cc int3 31: cc int3 32: cc int3 33: cc int3 34: 40 84 ed test %bpl,%bpl 37: 75 5f jne 0x98 39: f7 c5 00 ff 00 00 test $0xff00,%ebp 3f: 75 .byte 0x75