------------[ cut here ]------------ WARNING: CPU: 1 PID: 6978 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 6978 Comm: syz.2.739 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: 0000:ffffc90000dd0d40 EFLAGS: 00010006 RAX: ffffffff819ed900 RBX: 0000000000000008 RCX: ffff888026a29dc0 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100f249402 R10: ffffed100f249402 R11: 1ffff1100f249401 R12: ffff888026a2b548 R13: dffffc0000000000 R14: ffffc90000dd0da8 R15: 0000000000000000 FS: 00007fd9769316c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd978661830 CR3: 0000000078b0b000 CR4: 00000000003506e0 DR0: 0000200000000300 DR1: 0000000000000000 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_user kernel/trace/bpf_trace.c:166 [inline] bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163 bpf_prog_87c4e24aeb87061a+0x5b/0x5e4 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_run2+0x15b/0x2d0 kernel/trace/bpf_trace.c:1915 trace_tlb_flush+0xe6/0x110 include/trace/events/tlb.h:38 flush_tlb_func+0x43f/0x510 arch/x86/mm/tlb.c:855 flush_smp_call_function_queue+0x2a9/0x760 kernel/smp.c:628 __sysvec_call_function_single+0x98/0x240 arch/x86/kernel/smp.c:248 instr_sysvec_call_function_single arch/x86/kernel/smp.c:243 [inline] sysvec_call_function_single+0x98/0xc0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:684 RIP: 0010:perf_swevent_get_recursion_context+0x4e/0x150 kernel/events/core.c:9742 Code: 07 0f 87 d6 00 00 00 e8 90 f6 e0 ff 49 bf 00 00 00 00 00 fc ff df 48 8d 1c dd 20 c8 bc 8b 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 88 5e 25 00 4c 8b 33 65 8b 05 16 9a 6b 7e 89 c3 RSP: 0000:ffffc900030ef4d0 EFLAGS: 00000246 RAX: 1ffffffff1779905 RBX: ffffffff8bbcc828 RCX: ffff888026a29dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ad33a6 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffc900030ef5a0 R15: dffffc0000000000 perf_trace_buf_alloc+0x54/0x300 kernel/trace/trace_event_perf.c:414 perf_trace_lock+0x192/0x370 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x823/0x870 kernel/locking/lockdep.c:5634 rcu_read_unlock include/linux/rcupdate.h:773 [inline] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1444 [inline] trace_call_bpf+0x4f8/0x5a0 kernel/trace/bpf_trace.c:127 perf_trace_run_bpf_submit+0x79/0x1c0 kernel/events/core.c:10016 perf_trace_lock+0x2ec/0x370 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x823/0x870 kernel/locking/lockdep.c:5634 do_set_pte+0x3c9/0x530 mm/memory.c:4069 filemap_map_pages+0xe7e/0x1390 mm/filemap.c:3344 do_fault_around mm/memory.c:4243 [inline] do_read_fault mm/memory.c:4258 [inline] do_fault mm/memory.c:4392 [inline] handle_pte_fault mm/memory.c:4650 [inline] __handle_mm_fault mm/memory.c:4785 [inline] handle_mm_fault+0x257d/0x43b0 mm/memory.c:4883 do_user_addr_fault+0x489/0xc80 arch/x86/mm/fault.c:1357 handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7fd978661830 Code: 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 b0 ff ff ff 64 48 03 04 25 00 00 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <48> c7 c0 50 fe ff ff 48 c7 c1 c0 ff ff ff 64 48 8b 00 48 8b 00 48 RSP: 002b:00007fd976931118 EFLAGS: 00010246 RAX: fffffffffffffeb8 RBX: 00007fd9769316c0 RCX: 00007fd9786fee89 RDX: 00007fd976931d78 RSI: 0000000000000058 RDI: 00007fd9769316c0 RBP: 0000000000000000 R08: 00007fd9769316c0 R09: 00007ffd683ec4c7 R10: 0000000000000008 R11: 0000000000000206 R12: ffffffffffffffa8 R13: 000000000000000b R14: 00007ffd683ec3e0 R15: 00007ffd683ec4c8 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 0f 87 d6 00 00 00 ja 0xdc 6: e8 90 f6 e0 ff call 0xffe0f69b b: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 12: fc ff df 15: 48 8d 1c dd 20 c8 bc lea -0x744337e0(,%rbx,8),%rbx 1c: 8b 1d: 48 89 d8 mov %rbx,%rax 20: 48 c1 e8 03 shr $0x3,%rax 24: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) * 29: 74 08 je 0x33 <-- trapping instruction 2b: 48 89 df mov %rbx,%rdi 2e: e8 88 5e 25 00 call 0x255ebb 33: 4c 8b 33 mov (%rbx),%r14 36: 65 8b 05 16 9a 6b 7e mov %gs:0x7e6b9a16(%rip),%eax # 0x7e6b9a53 3d: 89 c3 mov %eax,%ebx