------------[ cut here ]------------
WARNING: CPU: 1 PID: 5790 at net/mac80211/tx.c:5007 __ieee80211_beacon_get+0x1150/0x14f0 net/mac80211/tx.c:5416
Modules linked in:
CPU: 1 PID: 5790 Comm: syz-executor.3 Not tainted 6.4.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5007 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1150/0x14f0 net/mac80211/tx.c:5416
Code: 60 39 ee 8b e8 b1 2b 3d f7 e8 bc e9 46 f7 e8 97 80 00 00 48 89 e8 48 83 c4 58 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e0 e6 5c f7 <0f> 0b e9 23 f7 ff ff e8 d4 e6 5c f7 0f 0b e9 20 f9 ff ff 44 89 e1
RSP: 0018:ffffc900001d09e8 EFLAGS: 00010246
RAX: ffffffff8a2d11c0 RBX: 0000000000000000 RCX: ffff88801ef9d940
RDX: 0000000080000101 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8a2d08dd R09: ffffffff8a2d034e
R10: 0000000000000003 R11: ffff88801ef9d940 R12: ffff88806afb6898
R13: ffff88806afb4c00 R14: ffff888070cda800 R15: ffff88806afb6358
FS: 00007f9d249fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020779000 CR3: 000000006d124000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xbd/0x5b0 net/mac80211/tx.c:5543
ieee80211_beacon_get include/net/mac80211.h:5384 [inline]
mac80211_hwsim_beacon_tx+0x382/0x750 drivers/net/wireless/virtual/mac80211_hwsim.c:2253
__iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:766
ieee80211_iterate_active_interfaces_atomic+0xb3/0x140 net/mac80211/util.c:802
mac80211_hwsim_beacon+0xd4/0x1e0 drivers/net/wireless/virtual/mac80211_hwsim.c:2283
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1766
__do_softirq+0x2ab/0x908 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x159/0x240 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:236 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x34/0x90 kernel/kcov.c:304
Code: 8b 15 e0 ba 79 7e 65 8b 05 e1 ba 79 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 5b 83 ba 0c 16 00 00 00 74 52 8b 82 e8 15 00 00 <83> f8 03 75 47 48 8b 8a f0 15 00 00 44 8b 8a ec 15 00 00 49 c1 e1
RSP: 0018:ffffc9000ad67478 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffffff8cdcdfc8 RCX: ffff88801ef9d940
RDX: ffff88801ef9d940 RSI: 0000000000000001 RDI: 0000000000000006
RBP: ffffc9000ad67530 R08: ffffffff8185a1ae R09: ffffed100c4f300b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffffffff8cdcdf80
map_id_up kernel/user_namespace.c:381 [inline]
from_kgid+0x9e/0x730 kernel/user_namespace.c:498
i_gid_read include/linux/fs.h:1304 [inline]
ext4_fill_raw_inode+0x415/0x2970 fs/ext4/inode.c:4249
ext4_do_update_inode fs/ext4/inode.c:5057 [inline]
ext4_mark_iloc_dirty+0x4e8/0x1c60 fs/ext4/inode.c:5689
__ext4_mark_inode_dirty+0x5ac/0x870 fs/ext4/inode.c:5893
ext4_dirty_inode+0xca/0x110 fs/ext4/inode.c:5922
__mark_inode_dirty+0x305/0xd90 fs/fs-writeback.c:2424
mark_inode_dirty include/linux/fs.h:2144 [inline]
generic_write_end+0x184/0x1e0 fs/buffer.c:2257
ext4_da_write_end+0x733/0x9f0 fs/ext4/inode.c:3010
generic_perform_write+0x3ed/0x5e0 mm/filemap.c:3934
ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:289
ext4_file_write_iter+0x1d6/0x1930
call_write_iter include/linux/fs.h:1868 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x790/0xb20 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9d2568c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9d249fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9d257abf80 RCX: 00007f9d2568c0f9
RDX: 000000000208e24b RSI: 0000000020000400 RDI: 0000000000000003
RBP: 00007f9d256e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffe0f1795f R14: 00007f9d249fe300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 8b 15 e0 ba 79 7e mov 0x7e79bae0(%rip),%edx # 0x7e79bae6
6: 65 8b 05 e1 ba 79 7e mov %gs:0x7e79bae1(%rip),%eax # 0x7e79baee
d: a9 00 01 ff 00 test $0xff0100,%eax
12: 74 10 je 0x24
14: a9 00 01 00 00 test $0x100,%eax
19: 74 5b je 0x76
1b: 83 ba 0c 16 00 00 00 cmpl $0x0,0x160c(%rdx)
22: 74 52 je 0x76
24: 8b 82 e8 15 00 00 mov 0x15e8(%rdx),%eax
* 2a: 83 f8 03 cmp $0x3,%eax <-- trapping instruction
2d: 75 47 jne 0x76
2f: 48 8b 8a f0 15 00 00 mov 0x15f0(%rdx),%rcx
36: 44 8b 8a ec 15 00 00 mov 0x15ec(%rdx),%r9d
3d: 49 rex.WB
3e: c1 .byte 0xc1
3f: e1 .byte 0xe1