------------[ cut here ]------------
WARNING: CPU: 0 PID: 8674 at net/mac80211/tx.c:5135 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5135 [inline]
WARNING: CPU: 0 PID: 8674 at net/mac80211/tx.c:5135 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5546
Modules linked in:
CPU: 0 PID: 8674 Comm: syz.4.528 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:5135 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5546
Code: f7 4c 89 ef e8 90 08 b1 f7 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 5b aa 72 f7 0f 0b e9 61 f8 ff ff e8 4f aa 72 f7 <0f> 0b e9 85 fb ff ff e8 43 aa 72 f7 48 c7 c7 a0 f3 66 8f 4c 89 e6
RSP: 0018:ffffc90000007a18 EFLAGS: 00010246
RAX: ffffffff8a153451 RBX: dffffc0000000000 RCX: ffff888025bc0000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888025bc0000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88802d4ae420
R13: ffff88805d691024 R14: ffff88802d4ae910 R15: ffff88805d691000
FS: 00007fa17fc7e6c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000014f030 CR3: 000000005822a000 CR4: 00000000003506f0
Call Trace:
ieee80211_beacon_get_tim+0xbf/0x580 net/mac80211/tx.c:5673
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:copy_msghdr_from_user net/socket.c:2522 [inline]
RIP: 0010:recvmsg_copy_msghdr net/socket.c:2780 [inline]
RIP: 0010:___sys_recvmsg+0x145/0x590 net/socket.c:2852
Code: 80 01 00 00 00 00 00 00 bf ff ff ff ff 89 de e8 51 41 08 f9 85 db 89 5c 24 20 78 7b 4c 8d 6c 24 60 43 c7 44 3e 04 00 00 00 00 <66> 43 c7 44 3e 08 00 00 43 c6 44 3e 0a 00 ba 38 00 00 00 4c 89 ef
RSP: 0018:ffffc9000521fa80 EFLAGS: 00000202
RAX: ffffffff887fa0ff RBX: 0000000000000002 RCX: 0000000000000002
RDX: ffff888025bc0000 RSI: 0000000000000002 RDI: 00000000ffffffff
RBP: ffffc9000521fc70 R08: ffffc9000521fbbf R09: 0000000000000000
R10: ffffc9000521fb40 R11: fffff52000a43f78 R12: ffffc9000521fbe0
R13: ffffc9000521fae0 R14: 1ffff92000a43f58 R15: dffffc0000000000
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:0x7fa17eda8fd9
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:00007fa17fc7e028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fa17f026090 RCX: 00007fa17eda8fd9
RDX: 0000000000010106 RSI: 0000200000000b40 RDI: 0000000000000005
RBP: 00007fa17ee37fed R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa17f026128 R14: 00007fa17f026090 R15: 00007ffee7e4ca58
----------------
Code disassembly (best guess):
0: 80 01 00 addb $0x0,(%rcx)
3: 00 00 add %al,(%rax)
5: 00 00 add %al,(%rax)
7: 00 bf ff ff ff ff add %bh,-0x1(%rdi)
d: 89 de mov %ebx,%esi
f: e8 51 41 08 f9 call 0xf9084165
14: 85 db test %ebx,%ebx
16: 89 5c 24 20 mov %ebx,0x20(%rsp)
1a: 78 7b js 0x97
1c: 4c 8d 6c 24 60 lea 0x60(%rsp),%r13
21: 43 c7 44 3e 04 00 00 movl $0x0,0x4(%r14,%r15,1)
28: 00 00
* 2a: 66 43 c7 44 3e 08 00 movw $0x0,0x8(%r14,%r15,1) <-- trapping instruction
31: 00
32: 43 c6 44 3e 0a 00 movb $0x0,0xa(%r14,%r15,1)
38: ba 38 00 00 00 mov $0x38,%edx
3d: 4c 89 ef mov %r13,%rdi