------------[ cut here ]------------ WARNING: CPU: 1 PID: 3932 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 3932 Comm: syz-executor109 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 7b c4 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 64 c4 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:ffffc90000dd0be8 EFLAGS: 00010046 RAX: ffffffff81aa985c RBX: 0000000000000000 RCX: ffff88801f510000 RDX: 0000000080010003 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aa976d R09: fffffbfff1f7ee19 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000005 R14: 0000000000000000 R15: ffffc90000dd0c48 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f01bff65250 CR3: 000000001a9b6000 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_fc3bf541218f26d6+0x35/0xb38 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:1880 [inline] bpf_trace_run2+0x19e/0x340 kernel/trace/bpf_trace.c:1917 trace_hrtimer_start include/trace/events/timer.h:199 [inline] debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer+0x324/0x390 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1703 [inline] __hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 0c 87 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90002a77480 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200054ee9c RCX: 1ffff9200054ee3c RDX: dffffc0000000000 RSI: ffffffff8a8b3c20 RDI: ffffffff8ad8f600 RBP: ffffc90002a775e0 R08: dffffc0000000000 R09: fffffbfff1f7ee19 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200054ee98 R13: dffffc0000000000 R14: ffffc90002a774e0 R15: 0000000000000246 rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] lock_page_memcg+0xaf/0x4d0 mm/memcontrol.c:2044 page_remove_rmap+0x2a/0x11e0 mm/rmap.c:1351 zap_pte_range mm/memory.c:1373 [inline] zap_pmd_range mm/memory.c:1494 [inline] zap_pud_range mm/memory.c:1523 [inline] zap_p4d_range mm/memory.c:1544 [inline] unmap_page_range+0xffa/0x2630 mm/memory.c:1565 unmap_vmas+0x1f8/0x390 mm/memory.c:1642 exit_mmap+0x3b6/0x670 mm/mmap.c:3186 __mmput+0x112/0x3b0 kernel/fork.c:1126 exit_mm+0x688/0x7f0 kernel/exit.c:548 do_exit+0x626/0x2480 kernel/exit.c:859 do_group_exit+0x144/0x310 kernel/exit.c:994 __do_sys_exit_group kernel/exit.c:1005 [inline] __se_sys_exit_group kernel/exit.c:1003 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1003 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:0x7f01bfeea079 Code: Unable to access opcode bytes at RIP 0x7f01bfeea04f. RSP: 002b:00007fffe86bb7b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f01bfeea079 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 00007f01bff63370 R08: ffffffffffffffb8 R09: 00007fffe86bb83c R10: 0000000000000000 R11: 0000000000000246 R12: 00007f01bff63370 R13: 0000000000000000 R14: 00007f01bff64e40 R15: 00007f01bfeb3110 irq event stamp: 1176 hardirqs last enabled at (1175): [] lock_page_memcg+0x264/0x4d0 mm/memcontrol.c:2056 hardirqs last disabled at (1176): [] sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1096 softirqs last enabled at (864): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (864): [] bpf_link_settle+0x7d/0x140 kernel/bpf/syscall.c:2612 softirqs last disabled at (862): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (862): [] bpf_link_settle+0x26/0x140 kernel/bpf/syscall.c:2610 ---[ end trace d5628163dbc9f7de ]--- ---------------- Code disassembly (best guess): 0: 2b 00 sub (%rax),%eax 2: 74 08 je 0xc 4: 4c 89 f7 mov %r14,%rdi 7: e8 0c 87 67 00 call 0x678718 c: f6 44 24 61 02 testb $0x2,0x61(%rsp) 11: 0f 85 84 01 00 00 jne 0x19b 17: 41 f7 c7 00 02 00 00 test $0x200,%r15d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp) 28: e0 45 * 2a: 4b c7 44 25 00 00 00 movq $0x0,0x0(%r13,%r12,1) <-- trapping instruction 31: 00 00 33: 43 c7 44 25 09 00 00 movl $0x0,0x9(%r13,%r12,1) 3a: 00 00 3c: 43 rex.XB 3d: c7 .byte 0xc7 3e: 44 rex.R 3f: 25 .byte 0x25