------------[ cut here ]------------ WARNING: CPU: 1 PID: 21 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Modules linked in: CPU: 1 PID: 21 Comm: kworker/1:0 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events nsim_dev_trap_report_work 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 e7 c9 b4 f7 0f 0b e9 4b fa ff ff e8 db c9 b4 f7 0f 0b e9 3b fe ff ff e8 cf c9 b4 f7 0f 0b e9 06 ee ff ff e8 c3 c9 b4 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: ffffffff89cba9dd RBX: 0000000000000000 RCX: ffff888017e31dc0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000dd0a70 R08: ffffffff89cb9a68 R09: ffffffff89cb943b R10: 0000000000000003 R11: ffff888017e31dc0 R12: dffffc0000000000 R13: ffff8880625fcc80 R14: ffff8880625fe298 R15: 1ffff920001ba118 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3593c60f98 CR3: 000000006185b000 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:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1769 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 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:crng_make_state+0x530/0x690 drivers/char/random.c:393 Code: 42 bf 05 e9 38 fd ff ff e8 1d b0 01 fd e8 58 ab b5 05 4d 85 e4 0f 84 ff fe ff ff e8 0a b0 01 fd fb 48 c7 44 24 40 0e 36 e0 45 <43> c7 44 3d 00 00 00 00 00 4b c7 44 3d 0c 00 00 00 00 66 43 c7 44 RSP: 0018:ffffc90000db78c0 EFLAGS: 00000293 RAX: ffffffff847ec396 RBX: 0000000000000000 RCX: ffff888017e31dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000db7a10 R08: ffffffff847ec279 R09: fffffbfff20ec840 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000200 R13: dffffc0000000000 R14: 0000000000000046 R15: 1ffff920001b6f20 _get_random_bytes+0xd3/0x2b0 drivers/char/random.c:405 eth_random_addr include/linux/etherdevice.h:225 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:671 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:721 [inline] nsim_dev_trap_report_work+0x306/0xab0 drivers/net/netdevsim/dev.c:762 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: e9 38 fd ff ff jmp 0xfffffd3d 5: e8 1d b0 01 fd call 0xfd01b027 a: e8 58 ab b5 05 call 0x5b5ab67 f: 4d 85 e4 test %r12,%r12 12: 0f 84 ff fe ff ff je 0xffffff17 18: e8 0a b0 01 fd call 0xfd01b027 1d: fb sti 1e: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp) 25: e0 45 * 27: 43 c7 44 3d 00 00 00 movl $0x0,0x0(%r13,%r15,1) <-- trapping instruction 2e: 00 00 30: 4b c7 44 3d 0c 00 00 movq $0x0,0xc(%r13,%r15,1) 37: 00 00 39: 66 data16 3a: 43 rex.XB 3b: c7 .byte 0xc7 3c: 44 rex.R