------------[ cut here ]------------ WARNING: CPU: 1 PID: 4805 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 4805 Comm: syz.0.190 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Code: 24 45 31 f6 31 ff 89 de e8 ad e2 d7 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 30 df d7 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe RSP: 0018:ffffc90000dd03f8 EFLAGS: 00010246 RAX: ffffffff819fe2f0 RBX: 0000000000000008 RCX: ffff8880265f0000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1004cbe001 R10: ffffed1004cbe001 R11: 1ffff11004cbe000 R12: ffff8880265f1788 R13: 00007ffffffff000 R14: ffffc90000dd0468 R15: 0000000020000000 FS: 00007f6c5be8e6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 000000005ac09000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline] ____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline] bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277 bpf_prog_63d51858d7cca270+0x3d/0x8a4 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline] bpf_trace_run4+0x188/0x330 kernel/trace/bpf_trace.c:1917 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:201 trace_mm_page_alloc include/trace/events/kmem.h:201 [inline] __alloc_pages+0x449/0x470 mm/page_alloc.c:5496 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1975 ___slab_alloc+0x81e/0xdf0 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] kmem_cache_alloc_node+0x1c3/0x2d0 mm/slub.c:3256 __alloc_skb+0xf4/0x750 net/core/skbuff.c:415 __netdev_alloc_skb+0x103/0x4a0 net/core/skbuff.c:494 netdev_alloc_skb include/linux/skbuff.h:3001 [inline] dev_alloc_skb include/linux/skbuff.h:3014 [inline] __ieee80211_beacon_get+0xa73/0x1f80 net/mac80211/tx.c:5080 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:arch_local_irq_restore arch/x86/include/asm/irqflags.h:140 [inline] RIP: 0010:enqueue_to_backlog+0xb74/0xea0 net/core/dev.c:4716 Code: b6 f6 ff ff e8 1d e2 a6 f9 e8 b8 8c d0 01 e9 2b f7 ff ff e8 0e e2 a6 f9 e8 a9 8c d0 01 4d 85 ff 74 95 e8 ff e1 a6 f9 fb 31 c0 6d f7 ff ff e8 f2 e1 a6 f9 49 bd 00 00 00 00 00 fc ff df e9 27 RSP: 0018:ffffc90002f5f640 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90005529000 RSI: 0000000000004a04 RDI: 0000000000004a05 RBP: ffffc90002f5f790 R08: dffffc0000000000 R09: ffffed10172276bb R10: ffffed10172276bb R11: 1ffff110172276ba R12: ffffc90002f5f7b8 R13: dffffc0000000000 R14: ffff8880b913b5c0 R15: 0000000000000200 netif_rx_internal+0x12c/0x540 net/core/dev.c:4991 netif_rx+0x94/0x380 net/core/dev.c:5018 ____bpf_clone_redirect net/core/filter.c:2452 [inline] bpf_clone_redirect+0x241/0x390 net/core/filter.c:2422 bpf_prog_2aaee2836d0f42d4+0x5c/0xd64 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x317/0x870 net/bpf/test_run.c:119 bpf_prog_test_run_skb+0x9cc/0x1180 net/bpf/test_run.c:669 bpf_prog_test_run+0x31e/0x390 kernel/bpf/syscall.c:3368 __sys_bpf+0x535/0x670 kernel/bpf/syscall.c:4669 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6c5e026929 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:00007f6c5be8e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f6c5e24dfa0 RCX: 00007f6c5e026929 RDX: 0000000000000023 RSI: 0000200000000240 RDI: 000000000000000a RBP: 00007f6c5e0a8b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6c5e24dfa0 R15: 00007fff16dfb5d8 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: e8 1d e2 a6 f9 call 0xf9a6e222 5: e8 b8 8c d0 01 call 0x1d08cc2 a: e9 2b f7 ff ff jmp 0xfffff73a f: e8 0e e2 a6 f9 call 0xf9a6e222 14: e8 a9 8c d0 01 call 0x1d08cc2 19: 4d 85 ff test %r15,%r15 1c: 74 95 je 0xffffffb3 1e: e8 ff e1 a6 f9 call 0xf9a6e222 23: fb sti 24: 31 c0 xor %eax,%eax * 26: e9 6d f7 ff ff jmp 0xfffff798 <-- trapping instruction 2b: e8 f2 e1 a6 f9 call 0xf9a6e222 30: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 37: fc ff df 3a: e9 .byte 0xe9 3b: 27 (bad)