------------[ cut here ]------------ WARNING: CPU: 1 PID: 4009 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4009 Comm: syz-executor.4 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 db d7 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c4 d7 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: 0018:ffffc90000dd09c0 EFLAGS: 00010246 RAX: ffffffff81aa851c RBX: 0000000000000000 RCX: ffff88801f08d940 RDX: 0000000080000101 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aa842d R09: fffffbfff1f7ec19 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000dd0a28 FS: 00007fd0c858b6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f523000 CR3: 000000002057f000 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_user kernel/trace/bpf_trace.c:166 [inline] bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163 bpf_prog_956a5bcb07a162c5+0x34/0x758 bpf_dispatcher_nop_func include/linux/bpf.h:785 [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:1880 [inline] bpf_trace_run3+0x1d1/0x380 kernel/trace/bpf_trace.c:1918 __bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138 __traceiter_kmem_cache_free+0x2e/0x50 include/trace/events/kmem.h:138 trace_kmem_cache_free include/trace/events/kmem.h:138 [inline] kmem_cache_free+0x1ce/0x1f0 mm/slub.c:3516 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763 __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:__should_failslab+0x8d/0xd0 mm/failslab.c:33 Code: 48 c1 e8 03 42 0f b6 04 30 84 c0 75 49 f6 45 03 02 75 07 31 c0 5b 41 5e 5d c3 48 83 c3 1c 48 89 d8 48 c1 e8 03 42 0f b6 04 30 <84> c0 75 12 8b 33 48 c7 c7 c0 5d 9f 8c 5b 41 5e 5d e9 cd 36 5c 02 RSP: 0018:ffffc900045efcb0 EFLAGS: 00000a07 RAX: 0000000000000000 RBX: ffff888011dec79c RCX: ffff88801f08d940 RDX: ffff88801f08d940 RSI: 0000000000000cc0 RDI: ffff888011dec780 RBP: 0000000000000cc0 R08: dffffc0000000000 R09: fffffbfff1bc8b5e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888011dec780 R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000001 should_failslab+0x5/0x20 mm/slab_common.c:1337 slab_pre_alloc_hook+0x53/0xc0 mm/slab.h:494 slab_alloc_node mm/slub.c:3134 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233 alloc_inode fs/inode.c:238 [inline] new_inode_pseudo+0x78/0x210 fs/inode.c:937 get_pipe_inode fs/pipe.c:877 [inline] create_pipe_files+0x4c/0x700 fs/pipe.c:917 __do_pipe_flags+0x46/0x200 fs/pipe.c:966 do_pipe2+0xd0/0x300 fs/pipe.c:1014 __do_sys_pipe2 fs/pipe.c:1032 [inline] __se_sys_pipe2 fs/pipe.c:1030 [inline] __x64_sys_pipe2+0x56/0x60 fs/pipe.c:1030 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:0x7fd0ca018ea9 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:00007fd0c858b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 00007fd0ca146f80 RCX: 00007fd0ca018ea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000240 RBP: 00007fd0ca0654a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd0ca146f80 R15: 00007ffebbd475c8 ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 9: 84 c0 test %al,%al b: 75 49 jne 0x56 d: f6 45 03 02 testb $0x2,0x3(%rbp) 11: 75 07 jne 0x1a 13: 31 c0 xor %eax,%eax 15: 5b pop %rbx 16: 41 5e pop %r14 18: 5d pop %rbp 19: c3 ret 1a: 48 83 c3 1c add $0x1c,%rbx 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 75 12 jne 0x40 2e: 8b 33 mov (%rbx),%esi 30: 48 c7 c7 c0 5d 9f 8c mov $0xffffffff8c9f5dc0,%rdi 37: 5b pop %rbx 38: 41 5e pop %r14 3a: 5d pop %rbp 3b: e9 cd 36 5c 02 jmp 0x25c370d