------------[ cut here ]------------ WARNING: CPU: 0 PID: 4902 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Modules linked in: CPU: 0 PID: 4902 Comm: syz-executor.0 Not tainted 5.15.155-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 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 97 1a cb f7 0f 0b e9 4b fa ff ff e8 8b 1a cb f7 0f 0b e9 3b fe ff ff e8 7f 1a cb f7 0f 0b e9 06 ee ff ff e8 73 1a cb 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:ffffc90000007840 EFLAGS: 00010246 RAX: ffffffff89b5426d RBX: 0000000000000000 RCX: ffff888074e60000 RDX: 0000000080000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007a70 R08: ffffffff89b532f8 R09: ffffffff89b52ccb R10: 0000000000000003 R11: ffff888074e60000 R12: dffffc0000000000 R13: ffff88805f548c80 R14: ffff88805f54a298 R15: 1ffff92000000f18 FS: 00007faac2c766c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8dd1d8d988 CR3: 00000000163f1000 CR4: 00000000003506f0 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:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1767 __do_softirq+0x3b3/0x93a kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_release+0x62d/0x9a0 kernel/locking/lockdep.c:5647 Code: 3c 3b 00 74 08 4c 89 f7 e8 f0 47 67 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc900053df320 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000a7be76 RCX: ffffc900053df303 RDX: 0000000000000001 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f400 RBP: ffffc900053df448 R08: dffffc0000000000 R09: fffffbfff1bc8b66 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a7be70 R13: 0000000000000246 R14: ffffc900053df3b0 R15: dffffc0000000000 rcu_read_unlock include/linux/rcupdate.h:772 [inline] get_obj_cgroup_from_current+0x2c2/0x2f0 mm/memcontrol.c:2931 memcg_slab_pre_alloc_hook mm/slab.h:283 [inline] slab_pre_alloc_hook+0x87/0xc0 mm/slab.h:497 slab_alloc_node mm/slub.c:3134 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] alloc_buffer_head+0x20/0xf0 fs/buffer.c:3311 alloc_page_buffers+0x3a3/0x660 fs/buffer.c:832 create_empty_buffers+0x3a/0x6d0 fs/buffer.c:1562 create_page_buffers+0x1d4/0x330 fs/buffer.c:1679 block_read_full_page+0xe6/0xde0 fs/buffer.c:2270 do_read_cache_page+0x752/0x1040 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x1b0/0x650 fs/sysv/dir.c:146 sysv_inode_by_name+0x9e/0x3f0 fs/sysv/dir.c:360 sysv_lookup+0x63/0xe0 fs/sysv/namei.c:38 __lookup_slow+0x275/0x3d0 fs/namei.c:1663 lookup_slow+0x53/0x70 fs/namei.c:1680 walk_component+0x48c/0x610 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2455 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:490 [inline] __se_sys_chdir+0xbb/0x220 fs/open.c:484 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7faac4703e69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faac2c760c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007faac4831f80 RCX: 00007faac4703e69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000240 RBP: 00007faac475047a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007faac4831f80 R15: 00007ffd0f43d698 ---------------- Code disassembly (best guess): 0: 3c 3b cmp $0x3b,%al 2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 6: 89 f7 mov %esi,%edi 8: e8 f0 47 67 00 call 0x6747fd d: f6 84 24 91 00 00 00 testb $0x2,0x91(%rsp) 14: 02 15: 75 6f jne 0x86 17: 41 f7 c5 00 02 00 00 test $0x200,%r13d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 04 27 00 00 00 movq $0x0,(%r15,%r12,1) <-- trapping instruction 31: 00 32: 4b c7 44 27 08 00 00 movq $0x0,0x8(%r15,%r12,1) 39: 00 00 3b: 65 gs 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 04 25 add $0x25,%al