Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and stat_runtime require the kernel parameter schedstats=enable or kernel.sched_schedstats=1 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4582 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 0 PID: 4582 Comm: syz.2.139 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 cb c6 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b4 c6 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:ffffc900000077a8 EFLAGS: 00010046 RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff8880275b8000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020000000 R13: 0000000000000008 R14: 0000000020000000 R15: ffffc90000007808 FS: 00007f8aab1696c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002014b000 CR3: 0000000065f80000 CR4: 00000000003506f0 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_078a3568a35342ea+0x38/0x70c 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_run3+0x1d1/0x380 kernel/trace/bpf_trace.c:1916 trace_timer_start include/trace/events/timer.h:52 [inline] enqueue_timer+0x3ae/0x540 kernel/time/timer.c:586 internal_add_timer kernel/time/timer.c:611 [inline] __mod_timer+0xa60/0xeb0 kernel/time/timer.c:1062 addrconf_mod_rs_timer+0x51/0xe0 net/ipv6/addrconf.c:328 addrconf_rs_timer+0x450/0x610 net/ipv6/addrconf.c:3968 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:memcpy+0x2/0x60 mm/kasan/shadow.c:64 Code: d4 ee ff ff 84 c0 74 15 4c 89 ff 4c 89 f6 4c 89 e2 5b 41 5c 41 5e 41 5f e9 3b b3 67 02 31 c0 5b 41 5c 41 5e 41 5f c3 90 41 57 <41> 56 41 54 53 49 89 d4 49 89 f6 49 89 ff 48 8b 5c 24 20 48 89 f7 RSP: 0018:ffffc90002ff7b78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88807c77f020 RCX: 0000000000040000 RDX: 0000000000000599 RSI: ffff888063c98000 RDI: ffff88807c77f190 RBP: 00000000ffffffea R08: ffffffff81987269 R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807c77f190 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807c77f000 array_map_update_elem+0x2e5/0x6b0 kernel/bpf/arraymap.c:332 bpf_map_update_value+0x5d7/0x6c0 kernel/bpf/syscall.c:221 generic_map_update_batch+0x54d/0x8b0 kernel/bpf/syscall.c:1421 bpf_map_do_batch+0x4d0/0x620 __sys_bpf+0x55c/0x670 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 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:0x7f8aaccf1759 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:00007f8aab169038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f8aacea8f80 RCX: 00007f8aaccf1759 RDX: 0000000000000038 RSI: 0000000020000200 RDI: 000000000000001a RBP: 00007f8aacd6475e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8aacea8f80 R15: 00007fff2f642fe8 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: ff 84 c0 74 15 4c 89 incl -0x76b3ea8c(%rax,%rax,8) 7: ff 4c 89 f6 decl -0xa(%rcx,%rcx,4) b: 4c 89 e2 mov %r12,%rdx e: 5b pop %rbx f: 41 5c pop %r12 11: 41 5e pop %r14 13: 41 5f pop %r15 15: e9 3b b3 67 02 jmp 0x267b355 1a: 31 c0 xor %eax,%eax 1c: 5b pop %rbx 1d: 41 5c pop %r12 1f: 41 5e pop %r14 21: 41 5f pop %r15 23: c3 ret 24: 90 nop 25: 41 57 push %r15 * 27: 41 56 push %r14 <-- trapping instruction 29: 41 54 push %r12 2b: 53 push %rbx 2c: 49 89 d4 mov %rdx,%r12 2f: 49 89 f6 mov %rsi,%r14 32: 49 89 ff mov %rdi,%r15 35: 48 8b 5c 24 20 mov 0x20(%rsp),%rbx 3a: 48 89 f7 mov %rsi,%rdi