------------[ cut here ]------------ WARNING: CPU: 1 PID: 6006 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] WARNING: CPU: 1 PID: 6006 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Modules linked in: CPU: 1 UID: 0 PID: 6006 Comm: syz-executor368 Not tainted 6.12.0-syzkaller-09567-g7eef7e306d3c #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:5040 [inline] RIP: 0010:__ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Code: e8 a3 39 54 f6 eb 0d e8 9c 39 54 f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 ac ae af f6 45 31 ed e9 4c fe ff ff e8 7f 39 54 f6 90 <0f> 0b 90 e9 00 f7 ff ff e8 71 39 54 f6 90 0f 0b 90 e9 e8 f8 ff ff RSP: 0018:ffffc90000a18a00 EFLAGS: 00010246 RAX: ffffffff8b41a351 RBX: 0000000000000000 RCX: ffff888027011e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8b419a4d R09: ffffffff8b419450 R10: 0000000000000003 R11: ffff888027011e00 R12: ffff888056faa508 R13: ffff88807c628800 R14: ffff888056faa9d8 R15: ffff888056fa8d80 FS: 00007fb97e8566c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000207c5030 CR3: 0000000027762000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5596 ieee80211_beacon_get include/net/mac80211.h:5632 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2311 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:775 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:811 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:kasan_check_range+0xc/0x290 mm/kasan/generic.c:188 Code: 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 41 56 41 54 53 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f 82 56 02 RSP: 0018:ffffc900047af590 EFLAGS: 00000246 RAX: 1ffff920008f5ef9 RBX: ffffc900047af7c8 RCX: ffffffff8a626d0a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888075f28608 RBP: ffffc900047af6f0 R08: ffffffff8a6266a2 R09: 1ffff1100ebe50c1 R10: dffffc0000000000 R11: ffffed100ebe50c2 R12: 1ffff920008f5ec0 R13: ffffc900047af7c0 R14: ffff888075f28608 R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] scm_has_secdata include/net/scm.h:124 [inline] __scm_recv_common include/net/scm.h:178 [inline] scm_recv_unix+0x7da/0xad0 include/net/scm.h:214 __unix_dgram_recvmsg+0xcdd/0x12f0 net/unix/af_unix.c:2517 sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1033 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2801 ___sys_recvmsg net/socket.c:2845 [inline] do_recvmmsg+0x426/0xab0 net/socket.c:2940 __sys_recvmmsg net/socket.c:3014 [inline] __do_sys_recvmmsg net/socket.c:3037 [inline] __se_sys_recvmmsg net/socket.c:3030 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3030 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb97e8c5bf9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 1d 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:00007fb97e856228 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fb97e948438 RCX: 00007fb97e8c5bf9 RDX: 00000000040002db RSI: 0000000020000740 RDI: 0000000000000003 RBP: 00007fb97e948430 R08: 0000000000000000 R09: 00007fb97e8566c0 R10: 0000000000000002 R11: 0000000000000246 R12: 00007fb97e94843c R13: 00007fb97e915638 R14: 0031313230386c6e R15: 00007ffe5cd29ce8 ---------------- Code disassembly (best guess): 0: 0f 0b ud2 2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 9: 00 00 00 c: 66 90 xchg %ax,%ax e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 66 0f 1f 00 nopw (%rax) 22: 55 push %rbp 23: 41 57 push %r15 25: 41 56 push %r14 27: 41 54 push %r12 29: 53 push %rbx * 2a: b0 01 mov $0x1,%al <-- trapping instruction 2c: 48 85 f6 test %rsi,%rsi 2f: 0f 84 a0 01 00 00 je 0x1d5 35: 4c 8d 04 37 lea (%rdi,%rsi,1),%r8 39: 49 39 f8 cmp %rdi,%r8 3c: 0f .byte 0xf 3d: 82 (bad) 3e: 56 push %rsi 3f: 02 .byte 0x2