------------[ cut here ]------------
WARNING: CPU: 1 PID: 9216 at net/mac80211/tx.c:5202 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5202 [inline]
WARNING: CPU: 1 PID: 9216 at net/mac80211/tx.c:5202 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5614
Modules linked in:
CPU: 1 PID: 9216 Comm: syz.2.669 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5202 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5614
Code: f7 4c 89 ef e8 10 9e ae f7 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 eb 16 70 f7 0f 0b e9 61 f8 ff ff e8 df 16 70 f7 <0f> 0b e9 85 fb ff ff e8 d3 16 70 f7 48 c7 c7 00 44 67 8f 4c 89 e6
RSP: 0018:ffffc90000a08a18 EFLAGS: 00010246
RAX: ffffffff8a1806f1 RBX: dffffc0000000000 RCX: ffff888023510000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888023510000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888078bc2420
R13: ffff88801fb3c424 R14: ffff888078bc2910 R15: ffff88801fb3c400
FS: 00007f09869b16c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000a78000 CR3: 00000000579df000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000008 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
ieee80211_beacon_get_tim+0xbf/0x580 net/mac80211/tx.c:5741
ieee80211_beacon_get include/net/mac80211.h:5447 [inline]
mac80211_hwsim_beacon_tx+0x3bd/0x770 drivers/net/wireless/virtual/mac80211_hwsim.c:2271
__iterate_interfaces+0x225/0x4c0 net/mac80211/util.c:766
ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:802
mac80211_hwsim_beacon+0xbb/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2301
__run_hrtimer kernel/time/hrtimer.c:1754 [inline]
__hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818
hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835
handle_softirqs+0x27d/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:finish_task_switch+0x267/0x8f0 kernel/sched/core.c:5267
Code: 3c 09 85 c0 0f 84 30 01 00 00 48 85 db 0f 85 4f 01 00 00 e9 d5 04 00 00 4c 89 e7 e8 c3 42 46 09 e8 5e 4e 30 00 fb 4c 8b 65 b8 <49> 8d bc 24 00 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc9000bdef2c0 EFLAGS: 00000282
RAX: 46652ad780958000 RBX: 0000000000000000 RCX: 46652ad780958000
RDX: dffffc0000000000 RSI: ffffffff8aead240 RDI: ffffffff8b3c70e0
RBP: ffffc9000bdef310 R08: ffffffff9222d537 R09: 1ffffffff2445aa6
R10: dffffc0000000000 R11: fffffbfff2445aa7 R12: ffff888023510000
R13: ffff8880b8d3cf48 R14: dffffc0000000000 R15: ffff8880b8d3ccc8
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x1577/0x4720 kernel/sched/core.c:6722
preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7032
irqentry_exit+0x67/0x70 kernel/entry/common.c:441
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:692
RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:240 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x8/0x90 kernel/kcov.c:324
Code: 89 f6 48 ff c2 48 89 11 4a c7 44 01 08 05 00 00 00 4a 89 7c 01 10 4a 89 74 01 18 4a 89 44 01 20 c3 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 15 90 95 7b 7e 65 8b 0d 91 95 7b 7e 81 e1 00 01 ff 00 74
RSP: 0018:ffffc9000bdef6b8 EFLAGS: 00000246
RAX: ffffffff81cc9562 RBX: 000ffffffffff000 RCX: 0000000000080000
RDX: ffffc9000df27000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000bdef898 R08: 0000000000000004 R09: 0000000000000004
R10: ffffc9000bdef7cc R11: fffff520017bdf02 R12: ffff888023510000
R13: dffffc0000000000 R14: 00000000637ce067 R15: 1ffff110038eaa00
pud_pfn_mask arch/x86/include/asm/pgtable_types.h:439 [inline]
pud_pgtable arch/x86/include/asm/pgtable.h:1063 [inline]
pmd_offset include/linux/pgtable.h:123 [inline]
pmd_alloc include/linux/mm.h:2863 [inline]
__handle_mm_fault mm/memory.c:5172 [inline]
handle_mm_fault+0xa32/0x4a40 mm/memory.c:5377
do_user_addr_fault+0xeb7/0x13e0 arch/x86/mm/fault.c:1371
handle_page_fault arch/x86/mm/fault.c:1463 [inline]
exc_page_fault+0x64/0x100 arch/x86/mm/fault.c:1516
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0010:rep_movs_alternative+0x30/0x90 arch/x86/lib/copy_user_64.S:57
Code: f9 40 73 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <48> 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08
RSP: 0018:ffffc9000bdefa50 EFLAGS: 00050206
RAX: ffffffff8430d801 RBX: 0000000000000038 RCX: 0000000000000038
RDX: 0000000000000001 RSI: 0000200000a78000 RDI: ffffc9000bdefae0
RBP: ffffc9000bdefc70 R08: ffffc9000bdefb17 R09: 1ffff920017bdf62
R10: dffffc0000000000 R11: fffff520017bdf63 R12: 0000200000a78038
R13: ffffc9000bdefae0 R14: ffffc9000bdefae0 R15: 0000200000a78000
copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline]
raw_copy_from_user arch/x86/include/asm/uaccess_64.h:127 [inline]
_copy_from_user+0x8b/0xe0 lib/usercopy.c:23
copy_from_user include/linux/uaccess.h:183 [inline]
copy_msghdr_from_user net/socket.c:2525 [inline]
recvmsg_copy_msghdr net/socket.c:2780 [inline]
___sys_recvmsg+0x174/0x590 net/socket.c:2852
do_recvmmsg+0x377/0x810 net/socket.c:2950
__sys_recvmmsg net/socket.c:3029 [inline]
__do_sys_recvmmsg net/socket.c:3052 [inline]
__se_sys_recvmmsg net/socket.c:3045 [inline]
__x64_sys_recvmmsg+0x199/0x250 net/socket.c:3045
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0985ba9c99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f09869b1028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f0985e36098 RCX: 00007f0985ba9c99
RDX: 00000000080002c1 RSI: 0000200000000340 RDI: 0000000000000004
RBP: 00007f0985c3b18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0985e36130 R14: 00007f0985e36098 R15: 00007ffc014b8328
----------------
Code disassembly (best guess):
0: 3c 09 cmp $0x9,%al
2: 85 c0 test %eax,%eax
4: 0f 84 30 01 00 00 je 0x13a
a: 48 85 db test %rbx,%rbx
d: 0f 85 4f 01 00 00 jne 0x162
13: e9 d5 04 00 00 jmp 0x4ed
18: 4c 89 e7 mov %r12,%rdi
1b: e8 c3 42 46 09 call 0x94642e3
20: e8 5e 4e 30 00 call 0x304e83
25: fb sti
26: 4c 8b 65 b8 mov -0x48(%rbp),%r12
* 2a: 49 8d bc 24 00 16 00 lea 0x1600(%r12),%rdi <-- trapping instruction
31: 00
32: 48 89 f8 mov %rdi,%rax
35: 48 c1 e8 03 shr $0x3,%rax
39: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax
3e: 84 c0 test %al,%al