------------[ cut here ]------------ WARNING: CPU: 0 PID: 5527 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Modules linked in: CPU: 0 PID: 5527 Comm: syz.1.329 Not tainted 5.15.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 17 cd b4 f7 0f 0b e9 4b fa ff ff e8 0b cd b4 f7 0f 0b e9 3b fe ff ff e8 ff cc b4 f7 0f 0b e9 06 ee ff ff e8 f3 cc 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:ffffc90000007840 EFLAGS: 00010246 RAX: ffffffff89cba6ad RBX: 0000000000000000 RCX: ffff88805e7a8000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007a70 R08: ffffffff89cb9738 R09: ffffffff89cb910b R10: 0000000000000003 R11: ffff88805e7a8000 R12: dffffc0000000000 R13: ffff888062ab0c80 R14: ffff888062ab2298 R15: 1ffff92000000f18 FS: 00007f8df08266c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3a7bd1 CR3: 000000005b806000 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: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:finish_lock_switch+0x91/0x100 kernel/sched/core.c:4782 Code: 45 31 c9 68 f7 aa 59 81 e8 9c 11 09 00 48 83 c4 08 4c 89 ff e8 50 db fe ff eb 32 4c 89 ff e8 e6 5a e4 08 e8 c1 46 2d 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87 RSP: 0018:ffffc90003d46e98 EFLAGS: 00000286 RAX: 9203d852f9c82500 RBX: ffff888023723bb4 RCX: ffffffff81632d68 RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: ffffffff8ad90540 RBP: ffffc90003d46f10 R08: dffffc0000000000 R09: fffffbfff20ec839 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1101720760b R14: ffff8880b903b058 R15: ffff8880b903a300 finish_task_switch+0x134/0x630 kernel/sched/core.c:4899 context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12cc/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:684 RIP: 0010:seqcount_lockdep_reader_access+0x185/0x1e0 include/linux/seqlock.h:106 Code: 42 80 3c 23 00 74 08 4c 89 ff e8 36 61 09 00 f6 44 24 41 02 75 4c f7 44 24 18 00 02 00 00 74 01 fb 48 c7 44 24 20 0e 36 e0 45 <4b> c7 04 34 00 00 00 00 66 43 c7 44 34 09 00 00 43 c6 44 34 0b 00 RSP: 0018:ffffc90003d47280 EFLAGS: 00000206 RAX: 9203d852f9c82500 RBX: 1ffff920007a8e58 RCX: ffffffff81632d68 RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: ffffffff8ad90540 RBP: ffffc90003d47360 R08: dffffc0000000000 R09: fffffbfff20ec839 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88813fffb7c0 R14: 1ffff920007a8e54 R15: ffffc90003d472c0 read_seqbegin include/linux/seqlock.h:840 [inline] zone_span_seqbegin include/linux/memory_hotplug.h:83 [inline] page_outside_zone_boundaries mm/page_alloc.c:580 [inline] bad_range+0x77/0x2c0 mm/page_alloc.c:607 rmqueue mm/page_alloc.c:3760 [inline] get_page_from_freelist+0x3b5f/0x3d40 mm/page_alloc.c:4189 __alloc_pages+0x272/0x700 mm/page_alloc.c:5464 vm_area_alloc_pages mm/vmalloc.c:2868 [inline] __vmalloc_area_node mm/vmalloc.c:2924 [inline] __vmalloc_node_range+0x5ab/0x8c0 mm/vmalloc.c:3029 vmalloc_user+0x70/0x80 mm/vmalloc.c:3165 vb2_vmalloc_alloc+0xee/0x330 drivers/media/common/videobuf2/videobuf2-vmalloc.c:47 __vb2_buf_mem_alloc drivers/media/common/videobuf2/videobuf2-core.c:233 [inline] __vb2_queue_alloc+0x6f4/0x12d0 drivers/media/common/videobuf2/videobuf2-core.c:443 vb2_core_reqbufs+0x985/0x11c0 drivers/media/common/videobuf2/videobuf2-core.c:826 vb2_ioctl_reqbufs+0x391/0x640 drivers/media/common/videobuf2/videobuf2-v4l2.c:1002 __video_do_ioctl+0xa44/0xe40 drivers/media/v4l2-core/v4l2-ioctl.c:2976 video_usercopy+0xa87/0x1120 drivers/media/v4l2-core/v4l2-ioctl.c:3324 v4l2_ioctl+0x181/0x1d0 drivers/media/v4l2-core/v4l2-dev.c:364 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 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:0x7f8df23cf719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8df0826038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8df2587058 RCX: 00007f8df23cf719 RDX: 0000000020000040 RSI: 00000000c0145608 RDI: 0000000000000005 RBP: 00007f8df244275e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8df2587058 R15: 00007ffda0584088 ---------------- Code disassembly (best guess): 0: 45 31 c9 xor %r9d,%r9d 3: 68 f7 aa 59 81 push $0xffffffff8159aaf7 8: e8 9c 11 09 00 call 0x911a9 d: 48 83 c4 08 add $0x8,%rsp 11: 4c 89 ff mov %r15,%rdi 14: e8 50 db fe ff call 0xfffedb69 19: eb 32 jmp 0x4d 1b: 4c 89 ff mov %r15,%rdi 1e: e8 e6 5a e4 08 call 0x8e45b09 23: e8 c1 46 2d 00 call 0x2d46e9 28: fb sti 29: 5b pop %rbx * 2a: 41 5c pop %r12 <-- trapping instruction 2c: 41 5d pop %r13 2e: 41 5e pop %r14 30: 41 5f pop %r15 32: c3 ret 33: 44 89 f1 mov %r14d,%ecx 36: 80 e1 07 and $0x7,%cl 39: 80 c1 03 add $0x3,%cl 3c: 38 c1 cmp %al,%cl 3e: 7c 87 jl 0xffffffc7