------------[ cut here ]------------
WARNING: CPU: 0 PID: 10421 at net/mac80211/tx.c:5202 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5202 [inline]
WARNING: CPU: 0 PID: 10421 at net/mac80211/tx.c:5202 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5614
Modules linked in:
CPU: 0 PID: 10421 Comm: syz.5.723 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:ffffc90000007a18 EFLAGS: 00010246
RAX: ffffffff8a1806f1 RBX: dffffc0000000000 RCX: ffff88806a9a9e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88806a9a9e00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88805f326420
R13: ffff888031b02c24 R14: ffff88805f326910 R15: ffff888031b02c00
FS: 00007fc9bd5d46c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000006000 CR3: 000000007a34e000 CR4: 00000000003506f0
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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xc0/0x120 kernel/locking/spinlock.c:194
Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 db dc b8 f6 65 8b 05 3c 2e 5f 75 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90004877860 EFLAGS: 00000206
RAX: dffffc0000000004 RBX: 0000000000000a06 RCX: cda1eebd75db9800
RDX: dffffc0000000000 RSI: ffffffff8aead240 RDI: 0000000000000001
RBP: ffffc900048778f0 R08: ffffffff8f8e2f6f R09: 1ffffffff1f1c5ed
R10: dffffc0000000000 R11: fffffbfff1f1c5ee R12: dffffc0000000000
R13: ffffc90004877920 R14: ffffffff985bfcd8 R15: 1ffff9200090ef0c
init_timer_on_stack_key kernel/time/timer.c:806 [inline]
schedule_timeout+0x131/0x2d0 kernel/time/timer.c:2167
snd_rawmidi_write+0x3b6/0xc70 sound/core/rawmidi.c:1619
do_loop_readv_writev fs/read_write.c:-1 [inline]
do_iter_write+0x4e5/0xc50 fs/read_write.c:862
vfs_writev fs/read_write.c:933 [inline]
do_writev+0x27f/0x480 fs/read_write.c:976
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:0x7fc9bc7a9a99
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:00007fc9bd5d4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fc9bca36098 RCX: 00007fc9bc7a9a99
RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000007
RBP: 00007fc9bc83918b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc9bca36130 R14: 00007fc9bca36098 R15: 00007ffd78dacee8
----------------
Code disassembly (best guess):
0: c7 44 24 20 00 00 00 movl $0x0,0x20(%rsp)
7: 00
8: 9c pushf
9: 8f 44 24 20 pop 0x20(%rsp)
d: f7 44 24 20 00 02 00 testl $0x200,0x20(%rsp)
14: 00
15: 41 c6 04 07 f8 movb $0xf8,(%r15,%rax,1)
1a: 75 4b jne 0x67
1c: f7 c3 00 02 00 00 test $0x200,%ebx
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 db dc b8 f6 call 0xf6b8dd0a <-- trapping instruction
2f: 65 8b 05 3c 2e 5f 75 mov %gs:0x755f2e3c(%rip),%eax # 0x755f2e72
36: 85 c0 test %eax,%eax
38: 74 3c je 0x76
3a: 48 rex.W
3b: c7 .byte 0xc7
3c: 04 24 add $0x24,%al
3e: 0e (bad)
3f: 36 ss