------------[ cut here ]------------
WARNING: CPU: 0 PID: 13590 at net/mac80211/tx.c:4896 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4896 [inline]
WARNING: CPU: 0 PID: 13590 at net/mac80211/tx.c:4896 __ieee80211_beacon_get+0x178a/0x1ff0 net/mac80211/tx.c:5120
Modules linked in:
CPU: 0 PID: 13590 Comm: syz.2.1591 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:4896 [inline]
RIP: 0010:__ieee80211_beacon_get+0x178a/0x1ff0 net/mac80211/tx.c:5120
Code: 1b f8 0f 0b 4f 89 64 2f 04 4f 89 64 2f 0c 43 c6 44 2f 14 f8 e9 19 fe ff ff e8 22 4a 1b f8 0f 0b e9 16 ef ff ff e8 16 4a 1b f8 <0f> 0b e9 7c f2 ff ff e8 4a 0b 6e 00 89 d9 80 e1 07 80 c1 03 38 c1
RSP: 0000:ffffc900000078c0 EFLAGS: 00010246
RAX: ffffffff895e0bda RBX: ffff888025d75600 RCX: ffff8880676b0000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007af8 R08: ffff8880676b0000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: f8f8f8f8f8f8f8f8
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000000f28
FS: 00007f596c49a6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffe70 CR3: 0000000020d09000 CR4: 00000000003506f0
Call Trace:
ieee80211_beacon_get_tim+0x48/0x840 net/mac80211/tx.c:5239
ieee80211_beacon_get include/net/mac80211.h:4983 [inline]
mac80211_hwsim_beacon_tx+0x104/0x900 drivers/net/wireless/mac80211_hwsim.c:1812
__iterate_interfaces+0x225/0x4c0 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:1685 [inline]
__hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 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:bytes_is_nonzero mm/kasan/generic.c:84 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [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+0x7d/0x290 mm/kasan/generic.c:189
Code: 8d 44 3e ff 4d 89 c1 49 c1 e9 03 4b 8d 1c 21 49 89 df 4d 29 df 49 83 ff 10 7f 29 4d 85 ff 0f 84 38 01 00 00 4c 89 cb 48 f7 d3 <4c> 01 f3 41 80 3b 00 0f 85 86 01 00 00 49 ff c3 48 ff c3 75 ee e9
RSP: 0000:ffffc9000350ed10 EFLAGS: 00000202
RAX: ffffffff81a6f801 RBX: e00002bfffd73477 RCX: ffffffff81a6f85a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0001465c40
RBP: ffffc9000350eea0 R08: ffffea0001465c47 R09: 1ffffd400028cb88
R10: dffffc0000000000 R11: fffff9400028cb88 R12: dffffc0000000001
R13: dffffc0000000000 R14: 1ffffd400028cb88 R15: 0000000000000001
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
PageHead include/linux/page-flags.h:590 [inline]
compound_order include/linux/mm.h:959 [inline]
shmem_add_to_page_cache+0x10a/0x14d0 mm/shmem.c:707
shmem_getpage_gfp+0x1735/0x2c10 mm/shmem.c:1949
shmem_getpage mm/shmem.c:151 [inline]
shmem_write_begin+0xcd/0x1a0 mm/shmem.c:2483
generic_perform_write+0x2b6/0x550 mm/filemap.c:3793
__generic_file_write_iter+0x261/0x4e0 mm/filemap.c:3920
generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3952
__kernel_write+0x522/0x980 fs/read_write.c:543
__dump_emit+0x258/0x380 fs/coredump.c:947
dump_user_range+0x84/0x340 fs/coredump.c:1021
elf_core_dump+0x2fe0/0x3530 fs/binfmt_elf.c:2285
do_coredump+0x14e8/0x2b50 fs/coredump.c:898
get_signal+0x574/0x13e0 kernel/signal.c:2908
arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:157 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:323
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1499
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0x7f596e24dca1
Code: 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 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:fffffffffffffe70 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f596e4d9fa0 RCX: 00007f596e24dc99
RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000
RBP: 00007f596e2df18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f596e4da038 R14: 00007f596e4d9fa0 R15: 00007ffeb86828e8
----------------
Code disassembly (best guess):
0: 8d 44 3e ff lea -0x1(%rsi,%rdi,1),%eax
4: 4d 89 c1 mov %r8,%r9
7: 49 c1 e9 03 shr $0x3,%r9
b: 4b 8d 1c 21 lea (%r9,%r12,1),%rbx
f: 49 89 df mov %rbx,%r15
12: 4d 29 df sub %r11,%r15
15: 49 83 ff 10 cmp $0x10,%r15
19: 7f 29 jg 0x44
1b: 4d 85 ff test %r15,%r15
1e: 0f 84 38 01 00 00 je 0x15c
24: 4c 89 cb mov %r9,%rbx
27: 48 f7 d3 not %rbx
* 2a: 4c 01 f3 add %r14,%rbx <-- trapping instruction
2d: 41 80 3b 00 cmpb $0x0,(%r11)
31: 0f 85 86 01 00 00 jne 0x1bd
37: 49 ff c3 inc %r11
3a: 48 ff c3 inc %rbx
3d: 75 ee jne 0x2d
3f: e9 .byte 0xe9