------------[ cut here ]------------
WARNING: CPU: 1 PID: 6307 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline]
WARNING: CPU: 1 PID: 6307 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5035 [inline]
WARNING: CPU: 1 PID: 6307 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x14ac/0x16b0 net/mac80211/tx.c:5469
Modules linked in:
CPU: 1 UID: 0 PID: 6307 Comm: syz.2.81 Not tainted 6.14.0-syzkaller-00826-g327ecdbc0fda #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline]
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5035 [inline]
RIP: 0010:__ieee80211_beacon_get+0x14ac/0x16b0 net/mac80211/tx.c:5469
Code: 00 89 df 44 89 e6 e8 d3 60 e0 f6 44 38 e3 72 a1 e8 e9 66 e0 f6 48 89 ef e8 d1 db 38 f7 31 ed e9 9c fe ff ff e8 d5 66 e0 f6 90 <0f> 0b 90 e9 86 f6 ff ff 48 89 c6 48 c7 c7 a0 e3 2f 90 48 89 04 24
RSP: 0018:ffffc90000a08b70 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8ada02a2
RDX: ffff88802c08a440 RSI: ffffffff8ada0c1b RDI: 0000000000000001
RBP: ffffc90000a08c20 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888060828c00
R13: 0000000000000041 R14: ffff8880343b0d80 R15: ffff8880343b29d0
FS: 00007ff09e5676c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000038d030 CR3: 000000003131c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xa7/0x280 net/mac80211/tx.c:5596
ieee80211_beacon_get include/net/mac80211.h:5641 [inline]
mac80211_hwsim_beacon_tx+0x4ea/0xa10 drivers/net/wireless/virtual/mac80211_hwsim.c:2311
__iterate_interfaces+0x2e5/0x640 net/mac80211/util.c:761
ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:797
mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2345
__run_hrtimer kernel/time/hrtimer.c:1801 [inline]
__hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1865
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1882
handle_softirqs+0x213/0x8f0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0x109/0x170 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:check_kcov_mode kernel/kcov.c:185 [inline]
RIP: 0010:write_comp_data+0x3c/0x90 kernel/kcov.c:246
Code: 8b 05 80 2e 49 7e a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 0f 00 75 60 a9 00 00 f0 00 75 59 8b 82 34 16 00 00 85 c0 74 4f <8b> 82 10 16 00 00 83 f8 03 75 44 48 8b 82 18 16 00 00 8b 92 14 16
RSP: 0018:ffffc90003f4fa38 EFLAGS: 00000246
RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffffffff84c3fa2f
RDX: ffff88802c08a440 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000008 R14: ffffc90003f4fb90 R15: ffffc90003f4fda8
in_x32_syscall arch/x86/include/asm/compat.h:86 [inline]
in_32bit_syscall arch/x86/include/asm/compat.h:94 [inline]
in_compat_syscall arch/x86/include/asm/compat.h:100 [inline]
import_iovec+0xdf/0x140 lib/iov_iter.c:1527
copy_msghdr_from_user+0xfa/0x160 net/socket.c:2510
recvmsg_copy_msghdr net/socket.c:2759 [inline]
___sys_recvmsg+0xdc/0x1a0 net/socket.c:2831
do_recvmmsg+0x2f8/0x740 net/socket.c:2930
__sys_recvmmsg net/socket.c:3004 [inline]
__do_sys_recvmmsg net/socket.c:3027 [inline]
__se_sys_recvmmsg net/socket.c:3020 [inline]
__x64_sys_recvmmsg+0x239/0x290 net/socket.c:3020
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff09d78d169
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:00007ff09e567038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007ff09d9a6080 RCX: 00007ff09d78d169
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007ff09d80e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007ff09d9a6080 R15: 00007ffc1cceca28
----------------
Code disassembly (best guess):
0: 8b 05 80 2e 49 7e mov 0x7e492e80(%rip),%eax # 0x7e492e86
6: a9 00 01 ff 00 test $0xff0100,%eax
b: 74 1d je 0x2a
d: f6 c4 01 test $0x1,%ah
10: 74 67 je 0x79
12: a9 00 00 0f 00 test $0xf0000,%eax
17: 75 60 jne 0x79
19: a9 00 00 f0 00 test $0xf00000,%eax
1e: 75 59 jne 0x79
20: 8b 82 34 16 00 00 mov 0x1634(%rdx),%eax
26: 85 c0 test %eax,%eax
28: 74 4f je 0x79
* 2a: 8b 82 10 16 00 00 mov 0x1610(%rdx),%eax <-- trapping instruction
30: 83 f8 03 cmp $0x3,%eax
33: 75 44 jne 0x79
35: 48 8b 82 18 16 00 00 mov 0x1618(%rdx),%rax
3c: 8b .byte 0x8b
3d: 92 xchg %eax,%edx
3e: 14 16 adc $0x16,%al