------------[ cut here ]------------
WARNING: CPU: 1 PID: 4797 at net/mac80211/tx.c:4961 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4961 [inline]
WARNING: CPU: 1 PID: 4797 at net/mac80211/tx.c:4961 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5362
Modules linked in:
CPU: 1 PID: 4797 Comm: kworker/u4:16 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4961 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5362
Code: f7 4c 89 ef e8 40 a5 06 f8 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 6b f8 cd f7 0f 0b e9 61 f8 ff ff e8 5f f8 cd f7 <0f> 0b e9 85 fb ff ff e8 53 f8 cd f7 48 c7 c7 00 06 fc 8d 4c 89 e6
RSP: 0018:ffffc900001e0a48 EFLAGS: 00010246
RAX: ffffffff89b43931 RBX: dffffc0000000000 RCX: ffff8880262b9e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff8880262b9e00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88807db42228
R13: ffff88802e402024 R14: ffff88807db42760 R15: ffff88802e402000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa7afbed158 CR3: 000000001ae87000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x63/0x4e0 net/mac80211/tx.c:5489
ieee80211_beacon_get include/net/mac80211.h:5335 [inline]
mac80211_hwsim_beacon_tx+0x21c/0xae0 drivers/net/wireless/mac80211_hwsim.c:2091
__iterate_interfaces+0x225/0x4c0 net/mac80211/util.c:788
ieee80211_iterate_active_interfaces_atomic+0xd7/0x170 net/mac80211/util.c:824
mac80211_hwsim_beacon+0xb7/0x1b0 drivers/net/wireless/mac80211_hwsim.c:2147
__run_hrtimer kernel/time/hrtimer.c:1751 [inline]
__hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815
hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832
handle_softirqs+0x291/0x910 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:deref_stack_reg+0x1a2/0x220 arch/x86/kernel/unwind_orc.c:360
Code: 39 f0 0f 96 c0 20 c8 3c 01 75 30 4c 89 c7 49 89 f7 e8 e2 06 00 00 49 89 c6 48 8b 5c 24 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 94 4f 9a 00 4c 89 33 b0 01 eb 02 31 c0 48 83 c4
RSP: 0018:ffffc90005ad7548 EFLAGS: 00000246
RAX: 1ffff92000b5aed9 RBX: ffffc90005ad76c8 RCX: 0000000000000001
RDX: ffffc90005ad76c8 RSI: dffffc0000000000 RDI: ffffc90005ad7710
RBP: ffffc90005ad0000 R08: ffffc90005ad7710 R09: ffffc90005ad76d8
R10: dffffc0000000000 R11: fffff52000b5aedd R12: 1ffff92000b5aed2
R13: 1ffff92000b5aed3 R14: ffffc90005ad77b0 R15: dffffc0000000000
unwind_next_frame+0x15fc/0x1fd0 arch/x86/kernel/unwind_orc.c:-1
__unwind_start+0x51a/0x650 arch/x86/kernel/unwind_orc.c:717
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xda/0x140 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:53
kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1729 [inline]
slab_free_freelist_hook+0x133/0x1b0 mm/slub.c:1755
slab_free mm/slub.c:3687 [inline]
__kmem_cache_free+0xb6/0x200 mm/slub.c:3700
skb_free_head net/core/skbuff.c:762 [inline]
skb_release_data+0x5e9/0x7e0 net/core/skbuff.c:791
skb_release_all net/core/skbuff.c:856 [inline]
__kfree_skb net/core/skbuff.c:870 [inline]
consume_skb+0xa2/0x100 net/core/skbuff.c:1035
nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline]
nsim_dev_trap_report_work+0x71f/0xa80 drivers/net/netdevsim/dev.c:851
process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 39 f0 cmp %esi,%eax
2: 0f 96 c0 setbe %al
5: 20 c8 and %cl,%al
7: 3c 01 cmp $0x1,%al
9: 75 30 jne 0x3b
b: 4c 89 c7 mov %r8,%rdi
e: 49 89 f7 mov %rsi,%r15
11: e8 e2 06 00 00 call 0x6f8
16: 49 89 c6 mov %rax,%r14
19: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx
1e: 48 89 d8 mov %rbx,%rax
21: 48 c1 e8 03 shr $0x3,%rax
25: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
* 2a: 74 08 je 0x34 <-- trapping instruction
2c: 48 89 df mov %rbx,%rdi
2f: e8 94 4f 9a 00 call 0x9a4fc8
34: 4c 89 33 mov %r14,(%rbx)
37: b0 01 mov $0x1,%al
39: eb 02 jmp 0x3d
3b: 31 c0 xor %eax,%eax
3d: 48 rex.W
3e: 83 .byte 0x83
3f: c4 .byte 0xc4