------------[ cut here ]------------ WARNING: CPU: 0 PID: 4174 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] WARNING: CPU: 0 PID: 4174 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5075 Modules linked in: CPU: 0 PID: 4174 Comm: kworker/0:3 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events nsim_dev_trap_report_work 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:ffffc900000078c0 EFLAGS: 00010246 RAX: ffffffff8935a78c RBX: ffff8880227acc80 RCX: ffff8880626e9dc0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007ae8 R08: ffff8880626e9dc0 R09: 0000000000000003 R10: 0000000000000007 R11: 0000000000000100 R12: ffff88807a2e8c00 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000000f28 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a1a1f9000 CR3: 000000002a38f000 CR4: 00000000003506f0 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:___slab_alloc+0xd12/0xdf0 mm/slub.c:3074 Code: 48 c7 44 24 38 00 00 00 00 9c 8f 44 24 38 f7 44 24 38 00 02 00 00 75 40 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 40 75 65 4c 89 e8 48 83 c4 48 5b 41 5c 41 5d 41 5e 41 RSP: 0018:ffffc90002f6fa08 EFLAGS: 00000206 RAX: dff4f2f29b9b3100 RBX: ffff8880b903dfc0 RCX: dff4f2f29b9b3100 RDX: dffffc0000000000 RSI: ffffffff8a0b11c0 RDI: ffffffff8a59a740 RBP: 0000000000000202 R08: dffffc0000000000 R09: fffffbfff1ff3638 R10: fffffbfff1ff3638 R11: 1ffffffff1ff3637 R12: ffff8880b903dfa0 R13: ffff8880785e6000 R14: 0000000000000000 R15: ffff8880b903dfc0 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] __kmalloc_node_track_caller+0x1fc/0x3a0 mm/slub.c:4958 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x22c/0x750 net/core/skbuff.c:427 alloc_skb include/linux/skbuff.h:1162 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:664 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:721 [inline] nsim_dev_trap_report_work+0x2a1/0xb40 drivers/net/netdevsim/dev.c:762 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ---------------- Code disassembly (best guess): 0: 48 c7 44 24 38 00 00 movq $0x0,0x38(%rsp) 7: 00 00 9: 9c pushf a: 8f 44 24 38 pop 0x38(%rsp) e: f7 44 24 38 00 02 00 testl $0x200,0x38(%rsp) 15: 00 16: 75 40 jne 0x58 18: f7 c5 00 02 00 00 test $0x200,%ebp 1e: 74 01 je 0x21 20: fb sti 21: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 28: 00 00 * 2a: 48 3b 44 24 40 cmp 0x40(%rsp),%rax <-- trapping instruction 2f: 75 65 jne 0x96 31: 4c 89 e8 mov %r13,%rax 34: 48 83 c4 48 add $0x48,%rsp 38: 5b pop %rbx 39: 41 5c pop %r12 3b: 41 5d pop %r13 3d: 41 5e pop %r14 3f: 41 rex.B