------------[ cut here ]------------
WARNING: CPU: 1 PID: 9373 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline]
WARNING: CPU: 1 PID: 9373 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5075
Modules linked in:
CPU: 1 PID: 9373 Comm: syz.5.1571 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline]
RIP: 0010:__ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5075
Code: f8 0f 0b e9 f1 fa ff ff e8 b1 1a 42 f8 0f 0b 4c 8b 74 24 08 e9 36 fe ff ff e8 a0 1a 42 f8 0f 0b e9 3c ef ff ff e8 94 1a 42 f8 <0f> 0b e9 b8 f2 ff ff e8 18 c5 6b 00 44 89 e1 80 e1 07 80 c1 03 38
RSP: 0018:ffffc90000dd08c0 EFLAGS: 00010246
RAX: ffffffff8935a78c RBX: ffff8880607e4c80 RCX: ffff888021e8bb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000dd0ae8 R08: ffff888021e8bb80 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888060da2200
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff920001ba128
FS: 00007f377c7b36c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 00000000667dc000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x48/0x840 net/mac80211/tx.c:5194
ieee80211_beacon_get include/net/mac80211.h:4981 [inline]
mac80211_hwsim_beacon_tx+0xf4/0x920 drivers/net/wireless/mac80211_hwsim.c:1812
__iterate_interfaces+0x243/0x500 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0xb3/0x140 net/mac80211/util.c:829
mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
__run_hrtimer kernel/time/hrtimer.c:1690 [inline]
__hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1754
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1771
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:380 [inline]
RIP: 0010:__rcu_read_unlock+0x2e/0xd0 kernel/rcu/tree_plugin.h:419
Code: 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b 3d b5 27 9e 7e 48 8d 9f 3c 04 00 00 49 89 dc 49 c1 ec 03 43 0f b6 04 3c <84> c0 75 48 ff 0b 75 1d 4c 8d b7 40 04 00 00 4c 89 f0 48 c1 e8 03
RSP: 0018:ffffc90002387958 EFLAGS: 00000a03
RAX: 0000000000000000 RBX: ffff888021e8bfbc RCX: 0000000000080000
RDX: ffffc90003d11000 RSI: 000000000007ffff RDI: ffff888021e8bb80
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ff3619
R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: 1ffff110043d17f7
R13: 0000000000000000 R14: ffff88813fffa080 R15: dffffc0000000000
rcu_read_unlock include/linux/rcupdate.h:771 [inline]
pfn_valid include/linux/mmzone.h:-1 [inline]
__virt_addr_valid+0x3b8/0x470 arch/x86/mm/physaddr.c:65
check_heap_object mm/usercopy.c:228 [inline]
__check_object_size+0xa8/0x410 mm/usercopy.c:286
check_object_size include/linux/thread_info.h:199 [inline]
check_copy_size include/linux/thread_info.h:232 [inline]
copy_from_user include/linux/uaccess.h:191 [inline]
snd_rawmidi_kernel_write1+0x345/0x590 sound/core/rawmidi.c:1486
snd_rawmidi_write+0x5e2/0xbc0 sound/core/rawmidi.c:1555
do_loop_readv_writev fs/read_write.c:-1 [inline]
do_iter_write+0x3e4/0x7b0 fs/read_write.c:857
vfs_writev fs/read_write.c:928 [inline]
do_writev+0x254/0x410 fs/read_write.c:971
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f377e94b929
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:00007f377c7b3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f377eb72fa0 RCX: 00007f377e94b929
RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000004
RBP: 00007f377e9cdb39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f377eb72fa0 R15: 00007ffef86431a8
----------------
Code disassembly (best guess):
0: 41 55 push %r13
2: 41 54 push %r12
4: 53 push %rbx
5: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
c: fc ff df
f: 65 48 8b 3d b5 27 9e mov %gs:0x7e9e27b5(%rip),%rdi # 0x7e9e27cc
16: 7e
17: 48 8d 9f 3c 04 00 00 lea 0x43c(%rdi),%rbx
1e: 49 89 dc mov %rbx,%r12
21: 49 c1 ec 03 shr $0x3,%r12
25: 43 0f b6 04 3c movzbl (%r12,%r15,1),%eax
* 2a: 84 c0 test %al,%al <-- trapping instruction
2c: 75 48 jne 0x76
2e: ff 0b decl (%rbx)
30: 75 1d jne 0x4f
32: 4c 8d b7 40 04 00 00 lea 0x440(%rdi),%r14
39: 4c 89 f0 mov %r14,%rax
3c: 48 c1 e8 03 shr $0x3,%rax