------------[ cut here ]------------ WARNING: CPU: 1 PID: 4202 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4202 Comm: syz-executor319 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:226 Code: db 48 c7 c0 f2 ff ff ff 48 0f 44 c5 eb 0c e8 cb ba d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b4 ba d5 ff <0f> 0b e9 1e ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ef fe ff RSP: 0000:ffffc90000dd0650 EFLAGS: 00010246 RAX: ffffffff81aaca2c RBX: 0000000000000000 RCX: ffff88802b0b9dc0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aac93d R09: ffffed10056173b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000900 R13: 0000000000000002 R14: 0000000000000900 R15: ffffc90000dd06c8 FS: 00005555954b8380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000900 CR3: 0000000073b1b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0xe4/0x180 kernel/trace/bpf_trace.c:277 bpf_prog_1878750df62aa1fb+0x40/0x3f8 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+0x1ea/0x390 kernel/trace/bpf_trace.c:1917 __bpf_trace_mm_page_alloc+0xba/0xe0 include/trace/events/kmem.h:201 __traceiter_mm_page_alloc+0x35/0x50 include/trace/events/kmem.h:201 trace_mm_page_alloc include/trace/events/kmem.h:201 [inline] __alloc_pages+0x6e0/0x700 mm/page_alloc.c:5487 skb_page_frag_refill+0x220/0x4b0 net/core/sock.c:2664 add_recvbuf_mergeable drivers/net/virtio_net.c:1329 [inline] try_fill_recv+0x49d/0x17d0 drivers/net/virtio_net.c:1370 virtnet_receive drivers/net/virtio_net.c:1484 [inline] virtnet_poll+0x83a/0x1260 drivers/net/virtio_net.c:1585 __napi_poll+0xc7/0x440 net/core/dev.c:7043 napi_poll net/core/dev.c:7110 [inline] net_rx_action+0x617/0xda0 net/core/dev.c:7200 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 common_interrupt+0xb3/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 RIP: 0010:lock_acquire+0xa/0x4f0 kernel/locking/lockdep.c:5591 Code: 8e e8 1a a0 67 00 e9 a2 fd ff ff 0f 1f 44 00 00 65 8b 05 d1 a2 9f 7e a9 00 ff ff 00 0f 95 c0 c3 55 48 89 e5 41 57 41 56 41 55 <41> 54 53 48 83 e4 e0 48 81 ec 20 01 00 00 4c 89 4c 24 28 4c 89 44 RSP: 0000:ffffc90002e5f998 EFLAGS: 00000246 RAX: 61c146ec09466c00 RBX: ffff88802b0b9dec RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cbf1d00 RBP: ffffc90002e5f9b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801744f780 R13: 1ffff920005cbf54 R14: ffffc90002e5fa18 R15: 0000000000000001 fs_reclaim_acquire+0xa7/0x120 mm/page_alloc.c:4597 might_alloc include/linux/sched/mm.h:206 [inline] slab_pre_alloc_hook+0x22/0xc0 mm/slab.h:492 slab_alloc_node mm/slub.c:3134 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233 ptlock_alloc+0x1c/0x60 mm/memory.c:5554 ptlock_init include/linux/mm.h:2230 [inline] pgtable_pte_page_ctor include/linux/mm.h:2257 [inline] __pte_alloc_one include/asm-generic/pgalloc.h:66 [inline] pte_alloc_one+0xd1/0x360 arch/x86/mm/pgtable.c:33 __pte_alloc+0x75/0x210 mm/memory.c:439 do_anonymous_page mm/memory.c:3804 [inline] handle_pte_fault mm/memory.c:4646 [inline] __handle_mm_fault mm/memory.c:4783 [inline] handle_mm_fault+0x4d9a/0x5960 mm/memory.c:4881 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7fbbe34437c9 Code: 80 01 00 20 45 31 c9 45 31 c0 48 89 c7 48 8d 35 c5 98 07 00 45 31 db 45 31 d2 b9 51 00 00 00 66 0f ef c0 31 c0 ba c0 00 00 20 04 25 c0 00 00 20 11 00 00 00 c7 04 25 c4 00 00 20 0b 00 00 00 RSP: 002b:00007ffd40a8a2d0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000051 RDX: 00000000200000c0 RSI: 00007fbbe34bd078 RDI: 0000000020000180 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffd40a8a2f0 R15: 00007ffd40a8a2e0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 1a a0 67 00 call 0x67a01f 5: e9 a2 fd ff ff jmp 0xfffffdac a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) f: 65 8b 05 d1 a2 9f 7e mov %gs:0x7e9fa2d1(%rip),%eax # 0x7e9fa2e7 16: a9 00 ff ff 00 test $0xffff00,%eax 1b: 0f 95 c0 setne %al 1e: c3 ret 1f: 55 push %rbp 20: 48 89 e5 mov %rsp,%rbp 23: 41 57 push %r15 25: 41 56 push %r14 27: 41 55 push %r13 * 29: 41 54 push %r12 <-- trapping instruction 2b: 53 push %rbx 2c: 48 83 e4 e0 and $0xffffffffffffffe0,%rsp 30: 48 81 ec 20 01 00 00 sub $0x120,%rsp 37: 4c 89 4c 24 28 mov %r9,0x28(%rsp) 3c: 4c rex.WR 3d: 89 .byte 0x89 3e: 44 rex.R