------------[ cut here ]------------ WARNING: CPU: 0 PID: 5453 at net/mac80211/tx.c:5024 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline] WARNING: CPU: 0 PID: 5453 at net/mac80211/tx.c:5024 __ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453 Modules linked in: CPU: 0 UID: 0 PID: 5453 Comm: syz-executor Not tainted 6.15.0-syzkaller-13655-gbdc7f8c5adad #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline] RIP: 0010:__ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453 Code: e7 e8 17 ed 32 f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 78 fe ff ff e8 42 6d da f6 90 0f 0b 90 e9 e0 f7 ff ff e8 34 6d da f6 90 <0f> 0b 90 e9 38 fb ff ff e8 26 6d da f6 48 c7 c7 e0 19 79 8f 4c 89 RSP: 0018:ffffc900000079f8 EFLAGS: 00010246 RAX: ffffffff8ae5eeec RBX: ffffffff8ae5dcc6 RCX: ffff88801f59a440 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff88801f59a440 R09: 0000000000000003 R10: 0000000000000007 R11: 0000000000000100 R12: ffff8880420a6500 R13: dffffc0000000000 R14: ffff8880420a69d0 R15: ffff8880504af024 FS: 000055557e91e500(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f720e77e2d8 CR3: 000000005066a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x2b0 net/mac80211/tx.c:5580 ieee80211_beacon_get include/net/mac80211.h:5638 [inline] mac80211_hwsim_beacon_tx+0x3ce/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2319 __iterate_interfaces+0x2a8/0x590 net/mac80211/util.c:761 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:797 mac80211_hwsim_beacon+0xbb/0x1c0 drivers/net/wireless/virtual/mac80211_hwsim.c:2353 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x52c/0xc60 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1842 handle_softirqs+0x286/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x175/0x360 kernel/locking/lockdep.c:5875 Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 3b aa fe 10 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc9000d50fa38 EFLAGS: 00000206 RAX: 974012eaa06fcc00 RBX: 0000000000000000 RCX: 974012eaa06fcc00 RDX: 0000000000000000 RSI: ffffffff8db6e2e9 RDI: ffffffff8be28200 RBP: ffffffff817464c8 R08: 0000000000000000 R09: ffffffff817464c8 R10: dffffc0000000000 R11: fffffbfff1f4225f R12: 0000000000000002 R13: ffffffff8e13f120 R14: 0000000000000000 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock_sched include/linux/rcupdate.h:932 [inline] pfn_valid include/linux/mmzone.h:2158 [inline] __virt_addr_valid+0x1e5/0x5c0 arch/x86/mm/physaddr.c:65 kasan_addr_to_slab+0xf/0x90 mm/kasan/common.c:37 kasan_record_aux_stack+0xf/0xd0 mm/kasan/generic.c:533 __call_rcu_common kernel/rcu/tree.c:3090 [inline] call_rcu+0x142/0x990 kernel/rcu/tree.c:3210 slab_free_hook mm/slub.c:2345 [inline] slab_free mm/slub.c:4643 [inline] kmem_cache_free+0x309/0x400 mm/slub.c:4745 sk_prot_free net/core/sock.c:2284 [inline] __sk_destruct+0x4d2/0x660 net/core/sock.c:2381 inet_release+0x184/0x210 net/ipv4/af_inet.c:435 __sock_release net/socket.c:647 [inline] sock_close+0xc3/0x240 net/socket.c:1391 __fput+0x44c/0xa70 fs/file_table.c:465 fput_close_sync+0x119/0x200 fs/file_table.c:570 __do_sys_close fs/open.c:1589 [inline] __se_sys_close fs/open.c:1574 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1574 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f720e58d58a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007fff7b0bcf50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f720e58d58a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fff7b0bcfac R08: 00007fff7b0bc89c R09: 0079746972756365 R10: 00007fff7b0bc900 R11: 0000000000000293 R12: 0000000000000013 R13: 00000000000927c0 R14: 000000000001fe36 R15: 00007fff7b0bd000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 9c pushf 5: 8f 44 24 30 pop 0x30(%rsp) 9: f7 44 24 30 00 02 00 testl $0x200,0x30(%rsp) 10: 00 11: 0f 85 cd 00 00 00 jne 0xe4 17: f7 44 24 08 00 02 00 testl $0x200,0x8(%rsp) 1e: 00 1f: 74 01 je 0x22 21: fb sti 22: 65 48 8b 05 3b aa fe mov %gs:0x10feaa3b(%rip),%rax # 0x10feaa65 29: 10 * 2a: 48 3b 44 24 58 cmp 0x58(%rsp),%rax <-- trapping instruction 2f: 0f 85 f2 00 00 00 jne 0x127 35: 48 83 c4 60 add $0x60,%rsp 39: 5b pop %rbx 3a: 41 5c pop %r12 3c: 41 5d pop %r13 3e: 41 5e pop %r14