------------[ cut here ]------------
WARNING: CPU: 1 PID: 3741 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075
Modules linked in:
CPU: 1 PID: 3741 Comm: syz-executor394 Not tainted 5.15.153-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline]
RIP: 0010:__ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075
Code: ff e8 f7 88 cc f7 0f 0b e9 4b fa ff ff e8 eb 88 cc f7 0f 0b e9 3b fe ff ff e8 df 88 cc f7 0f 0b e9 06 ee ff ff e8 d3 88 cc f7 <0f> 0b e9 91 f0 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2d ea
RSP: 0018:ffffc90000dd0840 EFLAGS: 00010246
RAX: ffffffff89b3b0dd RBX: 0000000000000000 RCX: ffff888021e7bb80
RDX: 0000000080000101 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000dd0a70 R08: ffffffff89b3a168 R09: ffffffff89b39b3b
R10: 0000000000000003 R11: ffff888021e7bb80 R12: dffffc0000000000
R13: ffff88807d9e4c80 R14: ffff88807d9e6298 R15: 1ffff920001ba118
FS: 00007f2160b1c6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000207c6000 CR3: 000000001e800000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xb7/0x950 net/mac80211/tx.c:5194
ieee80211_beacon_get include/net/mac80211.h:4981 [inline]
mac80211_hwsim_beacon_tx+0xe2/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1812
__iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829
mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
__run_hrtimer kernel/time/hrtimer.c:1686 [inline]
__hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750
hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1767
__do_softirq+0x3b3/0x93a kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x5f/0x290 mm/kasan/generic.c:189
Code: eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 <4c> 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49
RSP: 0018:ffffc90003957100 EFLAGS: 00000a07
RAX: 0000000000000001 RBX: 1ffff9200072ae4a RCX: ffffffff81387348
RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc90003957250
RBP: fffff5200072ae4c R08: dffffc0000000000 R09: fffff5200072ae4a
R10: 1ffff9200072ae4b R11: dffffc0000000001 R12: 1ffffffff1cd1a89
R13: 1ffffffff1cd1a89 R14: fffff5200072ae4c R15: ffffc90003957200
memset+0x1f/0x40 mm/kasan/shadow.c:44
unwind_next_frame+0xbc8/0x1fa0 arch/x86/kernel/unwind_orc.c:547
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4b/0x80 mm/kasan/common.c:46
kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:1705 [inline]
slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kmem_cache_free+0x91/0x1f0 mm/slub.c:3515
jbd2_free_handle include/linux/jbd2.h:1602 [inline]
jbd2_journal_stop+0x8d9/0xd70 fs/jbd2/transaction.c:1964
__ext4_journal_stop+0xf8/0x190 fs/ext4/ext4_jbd2.c:127
__mark_inode_dirty+0x2fd/0xd60 fs/fs-writeback.c:2464
mark_inode_dirty include/linux/fs.h:2438 [inline]
generic_write_end+0x232/0x440 fs/buffer.c:2204
ext4_da_write_end+0x72d/0x9e0 fs/ext4/inode.c:3084
generic_perform_write+0x3b7/0x5b0 mm/filemap.c:3796
ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268
ext4_file_write_iter+0x87c/0x1990
call_write_iter include/linux/fs.h:2148 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0xacf/0xe50 fs/read_write.c:594
ksys_write+0x1a2/0x2c0 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f2160b7e519
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1a 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2160b1c228 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2160c08438 RCX: 00007f2160b7e519
RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000005
RBP: 00007f2160c08430 R08: 00007f2160b1c6c0 R09: 00007f2160b1c6c0
R10: 00007f2160b1c6c0 R11: 0000000000000246 R12: 00007f2160c0843c
R13: 00007f2160bd51cc R14: 0031313230386c6e R15: 00007fffb012d5a8
----------------
Code disassembly (best guess):
0: eb 03 jmp 0x5
2: 49 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%r8
9: fc ff df
c: 4e 8d 0c 03 lea (%rbx,%r8,1),%r9
10: 4c 8d 54 37 ff lea -0x1(%rdi,%rsi,1),%r10
15: 49 c1 ea 03 shr $0x3,%r10
19: 49 bb 01 00 00 00 00 movabs $0xdffffc0000000001,%r11
20: fc ff df
23: 4f 8d 34 1a lea (%r10,%r11,1),%r14
27: 4c 89 f5 mov %r14,%rbp
* 2a: 4c 29 cd sub %r9,%rbp <-- trapping instruction
2d: 48 83 fd 10 cmp $0x10,%rbp
31: 7f 26 jg 0x59
33: 48 85 ed test %rbp,%rbp
36: 0f 84 3a 01 00 00 je 0x176
3c: 49 f7 d2 not %r10
3f: 49 rex.WB