------------[ cut here ]------------ WARNING: CPU: 1 PID: 3509 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 1 PID: 3509 Comm: syz-executor428 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: ffff88801338bb80 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: 000055555590d380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd6959bb0f0 CR3: 000000001991c000 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/0x42c 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 02 e8 a2 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 f7 14 30 f7 65 8b 05 c8 22 db 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002687cc0 EFLAGS: 00000206 RAX: b9f9b39f5a122700 RBX: 1ffff920004d0f9c RCX: ffffffff913eef03 RDX: dffffc0000000000 RSI: ffffffff8a8b2980 RDI: 0000000000000001 RBP: ffffc90002687d50 R08: ffffffff8186dcf0 R09: fffffbfff22d720d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920004d0f98 R14: ffffc90002687ce0 R15: 0000000000000246 debug_rcu_head_queue kernel/rcu/rcu.h:177 [inline] __call_rcu kernel/rcu/tree.c:2991 [inline] call_rcu+0xb1/0xa70 kernel/rcu/tree.c:3087 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd69593c450 Code: 00 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d4 e8 b0 2c 00 00 80 3d 51 fc 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c RSP: 002b:00007fff97a1b408 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fd69593c450 RDX: 0000000000000010 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 0000000000000000 R08: ffffffffffffffff R09: ffffffffffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 00007fd69598b036 R13: 00007fff97a1b440 R14: 00007fff97a1b480 R15: 0000000000000000 irq event stamp: 1358 hardirqs last enabled at (1357): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (1357): [] _raw_spin_unlock_irqrestore+0x8b/0x130 kernel/locking/spinlock.c:194 hardirqs last disabled at (1358): [] sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1096 softirqs last enabled at (1336): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (1336): [] bpf_link_settle+0x7d/0x140 kernel/bpf/syscall.c:2612 softirqs last disabled at (1334): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (1334): [] bpf_link_settle+0x26/0x140 kernel/bpf/syscall.c:2610 ---[ end trace 57d549b1a25c90d2 ]--- ---------------- Code disassembly (best guess): 0: 9c pushf 1: 8f 44 24 20 pop 0x20(%rsp) 5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 02 e8 a2 f7 call 0xf7a2e816 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 4e jne 0x69 1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 f7 14 30 f7 call 0xf7301526 <-- trapping instruction 2f: 65 8b 05 c8 22 db 75 mov %gs:0x75db22c8(%rip),%eax # 0x75db22fe 36: 85 c0 test %eax,%eax 38: 74 3f je 0x79 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss