------------[ cut here ]------------ WARNING: CPU: 1 PID: 4296 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 4296 Comm: syz.0.25 Not tainted 5.15.177-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/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 ab ba d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 94 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: 0018:ffffc90000dd0bd0 EFLAGS: 00010006 RAX: ffffffff81aacafc RBX: 0000000000000000 RCX: ffff8880760cbb80 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaca0d R09: ffffed100ec19771 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020000000 R13: 0000000000000008 R14: 0000000020000000 R15: ffffc90000dd0c48 FS: 000055556d68c500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000227e3000 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_63d51858d7cca270+0x3d/0xcac 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_run2+0x19e/0x340 kernel/trace/bpf_trace.c:1915 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:1705 [inline] __hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:finish_lock_switch+0x91/0x100 kernel/sched/core.c:4782 Code: 45 31 c9 68 c7 ba 59 81 e8 3c 12 09 00 48 83 c4 08 4c 89 ff e8 90 db fe ff 66 90 4c 89 ff e8 b6 21 ef 08 e8 f1 48 2d 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87 RSP: 0018:ffffc90002f0f698 EFLAGS: 00000286 RAX: 84b43329b77f9d00 RBX: ffff8880760c9df4 RCX: ffffffff96a92f03 RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9f2c0 RBP: ffffc90002f0f710 R08: ffffffff81870420 R09: ffffed10171e7461 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff110171e760b R14: ffff8880b8f3b058 R15: ffff8880b8f3a300 finish_task_switch+0x134/0x630 kernel/sched/core.c:4899 context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12cc/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 freezable_schedule include/linux/freezer.h:172 [inline] futex_wait_queue_me+0x25b/0x480 kernel/futex/core.c:2863 futex_wait+0x2f8/0x740 kernel/futex/core.c:2964 do_futex+0x1414/0x1810 kernel/futex/core.c:3982 __do_sys_futex kernel/futex/core.c:4059 [inline] __se_sys_futex+0x407/0x490 kernel/futex/core.c:4040 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:0x7f59d33a7d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff9b8b1e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fff9b8b1f40 RCX: 00007f59d33a7d29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f59d35c0fac RBP: 00007f59d35c0fac R08: 0000000000000010 R09: 00007fff9b8b210f R10: 00007fff9b8b1f20 R11: 0000000000000246 R12: 0000000000014423 R13: 00007fff9b8b1f20 R14: 0000000000000226 R15: 00000000000141fd irq event stamp: 1698 hardirqs last enabled at (1697): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (1697): [] finish_lock_switch+0x8f/0x100 kernel/sched/core.c:4781 hardirqs last disabled at (1698): [] sysvec_apic_timer_interrupt+0xa/0xc0 arch/x86/kernel/apic/apic.c:1108 softirqs last enabled at (1436): [] local_bh_enable+0x5/0x20 include/linux/bottom_half.h:31 softirqs last disabled at (1434): [] local_bh_disable+0x5/0x20 include/linux/bottom_half.h:18 ---[ end trace 164317336818cbd2 ]--- ---------------- Code disassembly (best guess): 0: 45 31 c9 xor %r9d,%r9d 3: 68 c7 ba 59 81 push $0xffffffff8159bac7 8: e8 3c 12 09 00 call 0x91249 d: 48 83 c4 08 add $0x8,%rsp 11: 4c 89 ff mov %r15,%rdi 14: e8 90 db fe ff call 0xfffedba9 19: 66 90 xchg %ax,%ax 1b: 4c 89 ff mov %r15,%rdi 1e: e8 b6 21 ef 08 call 0x8ef21d9 23: e8 f1 48 2d 00 call 0x2d4919 28: fb sti 29: 5b pop %rbx * 2a: 41 5c pop %r12 <-- trapping instruction 2c: 41 5d pop %r13 2e: 41 5e pop %r14 30: 41 5f pop %r15 32: c3 ret 33: 44 89 f1 mov %r14d,%ecx 36: 80 e1 07 and $0x7,%cl 39: 80 c1 03 add $0x3,%cl 3c: 38 c1 cmp %al,%cl 3e: 7c 87 jl 0xffffffc7