------------[ cut here ]------------ WARNING: CPU: 1 PID: 6208 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 6208 Comm: rm Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Code: 24 45 31 f6 31 ff 89 de e8 8d f6 d8 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 10 f3 d8 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:ffffc90000dd09f8 EFLAGS: 00010246 RAX: ffffffff819ed900 RBX: 0000000000000008 RCX: ffff88804ecf5940 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1009d9eb29 R10: ffffed1009d9eb29 R11: 1ffff11009d9eb28 R12: ffff88804ecf70c8 R13: 00007ffffffff000 R14: ffffc90000dd0a68 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f522f748890 CR3: 000000005d855000 CR4: 00000000003506e0 DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 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_dafeb42eb5660805+0x5e/0x158 bpf_dispatcher_nop_func include/linux/bpf.h:888 [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_run3+0x17e/0x320 kernel/trace/bpf_trace.c:1916 __bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138 trace_kmem_cache_free include/trace/events/kmem.h:138 [inline] kmem_cache_free+0x1e7/0x210 mm/slub.c:3521 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763 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:validate_mm_rb+0x35/0x230 mm/mmap.c:385 Code: 48 89 34 24 49 89 fe e8 79 1e c9 ff 4c 89 f7 e8 e1 84 4e 02 48 85 c0 0f 84 d7 01 00 00 49 89 c6 48 bb 00 00 00 00 00 fc ff df <4d> 8d 7e e0 4c 3b 3c 24 74 73 4d 8d 66 18 4c 89 e0 48 c1 e8 03 80 RSP: 0018:ffffc900030ffae8 EFLAGS: 00000293 RAX: ffffffff81aeaf73 RBX: dffffc0000000000 RCX: ffff88804ecf5940 RDX: 0000000000000000 RSI: 00005639a051a000 RDI: ffff88801a5c3548 RBP: ffff88801a5c3038 R08: dffffc0000000000 R09: ffff88804f08e238 R10: ffffed1009e11c49 R11: 1ffff11009e11c47 R12: 00005639a051a000 R13: 00005639a051a000 R14: ffff88801a5c3020 R15: ffff88801a5c3528 vma_rb_insert mm/mmap.c:458 [inline] __vma_link_rb+0x527/0x550 mm/mmap.c:657 __vma_link mm/mmap.c:683 [inline] vma_link+0xbb/0x200 mm/mmap.c:697 __mmap_region mm/mmap.c:1853 [inline] mmap_region+0x140c/0x1660 mm/mmap.c:2933 do_mmap+0x81f/0xea0 mm/mmap.c:1586 vm_mmap_pgoff+0x1b2/0x2b0 mm/util.c:551 ksys_mmap_pgoff+0x140/0x780 mm/mmap.c:1635 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:0x7f522fa3c242 Code: 08 00 04 00 00 eb e2 90 41 f7 c1 ff 0f 00 00 75 27 55 89 cd 53 48 89 fb 48 85 ff 74 33 41 89 ea 48 89 df b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5e 5b 5d c3 0f 1f 00 c7 05 46 40 01 00 16 00 RSP: 002b:00007ffde724a898 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f522fa3c242 RDX: 0000000000000003 RSI: 0000000000002000 RDI: 0000000000000000 RBP: 0000000000000022 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000002000 R13: 0000000000000000 R14: 00007f522fa180c0 R15: 00007f522f95d55b ---------------- Code disassembly (best guess): 0: 48 89 34 24 mov %rsi,(%rsp) 4: 49 89 fe mov %rdi,%r14 7: e8 79 1e c9 ff call 0xffc91e85 c: 4c 89 f7 mov %r14,%rdi f: e8 e1 84 4e 02 call 0x24e84f5 14: 48 85 c0 test %rax,%rax 17: 0f 84 d7 01 00 00 je 0x1f4 1d: 49 89 c6 mov %rax,%r14 20: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx 27: fc ff df * 2a: 4d 8d 7e e0 lea -0x20(%r14),%r15 <-- trapping instruction 2e: 4c 3b 3c 24 cmp (%rsp),%r15 32: 74 73 je 0xa7 34: 4d 8d 66 18 lea 0x18(%r14),%r12 38: 4c 89 e0 mov %r12,%rax 3b: 48 c1 e8 03 shr $0x3,%rax 3f: 80 .byte 0x80