------------[ cut here ]------------
WARNING: CPU: 1 PID: 4530 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 4530 Comm: syz.2.78 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ed 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 70 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: 0018:ffffc90000dd0938 EFLAGS: 00010046
RAX: ffffffff819ed740 RBX: 0000000000000008 RCX: ffff8880183a3b80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003074771
R10: ffffed1003074771 R11: 1ffff11003074770 R12: ffff8880183a5308
R13: 00007ffffffff000 R14: ffffc90000dd09a8 R15: 0000000020000000
FS: 00005555641c6500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3144c5 CR3: 000000005a7b3000 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+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_63d51858d7cca270+0x3d/0x72c
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+0x17e/0x320 kernel/trace/bpf_trace.c:1916
__traceiter_timer_start+0x73/0xc0 include/trace/events/timer.h:52
trace_timer_start include/trace/events/timer.h:52 [inline]
enqueue_timer+0x394/0x520 kernel/time/timer.c:586
internal_add_timer kernel/time/timer.c:611 [inline]
__mod_timer+0x8e1/0xd20 kernel/time/timer.c:1062
call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451
expire_timers kernel/time/timer.c:1496 [inline]
__run_timers+0x525/0x7c0 kernel/time/timer.c:1767
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
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:bpf_tree_comp kernel/bpf/core.c:610 [inline]
RIP: 0010:__lt_find include/linux/rbtree_latch.h:115 [inline]
RIP: 0010:latch_tree_find include/linux/rbtree_latch.h:208 [inline]
RIP: 0010:bpf_ksym_find kernel/bpf/core.c:692 [inline]
RIP: 0010:is_bpf_text_address+0x109/0x270 kernel/bpf/core.c:726
Code: e7 03 47 8d 2c 7f 49 f7 dd 4f 8d bc 2e 60 ff ff ff 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 ca 5a 38 00 4d 8b 3f <4c> 89 ff 48 89 de e8 6c f6 f3 ff 49 39 df 76 0c e8 82 f4 f3 ff b8
RSP: 0018:ffffc9000339f960 EFLAGS: 00000246
RAX: 1ffff1100f349929 RBX: 00007f25b1575be9 RCX: ffff8880183a3b80
RDX: 0000000000000000 RSI: ffffffff8a59a220 RDI: ffffffff8a59a1e0
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ff7619
R10: fffffbfff1ff7619 R11: 1ffffffff1ff7618 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff888079a4c9e8 R15: ffffffffa001a8d4
kernel_text_address kernel/extable.c:151 [inline]
__kernel_text_address+0x9a/0x100 kernel/extable.c:105
unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
arch_stack_walk+0xf2/0x140 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
kasan_save_stack+0x35/0x60 mm/kasan/common.c:38
kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348
task_work_add+0x2f/0x1d0 kernel/task_work.c:38
fput_many+0xde/0x1a0 fs/file_table.c:367
filp_close+0x10e/0x150 fs/open.c:1369
__range_close fs/file.c:692 [inline]
__close_range+0x208/0x4d0 fs/file.c:747
__do_sys_close_range fs/open.c:1408 [inline]
__se_sys_close_range fs/open.c:1405 [inline]
__x64_sys_close_range+0x76/0x80 fs/open.c:1405
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f25b1575be9
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:00007ffe38a67518 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 000000000001591d RCX: 00007f25b1575be9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f25b17aeda0 R08: 0000000000000001 R09: 0000000e38a6780f
R10: 0000001b31320000 R11: 0000000000000246 R12: 00007f25b17acfac
R13: 00007f25b17acfa0 R14: ffffffffffffffff R15: 00007ffe38a67630
----------------
Code disassembly (best guess):
0: e7 03 out %eax,$0x3
2: 47 8d 2c 7f lea (%r15,%r15,2),%r13d
6: 49 f7 dd neg %r13
9: 4f 8d bc 2e 60 ff ff lea -0xa0(%r14,%r13,1),%r15
10: ff
11: 4c 89 f8 mov %r15,%rax
14: 48 c1 e8 03 shr $0x3,%rax
18: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
1d: 74 08 je 0x27
1f: 4c 89 ff mov %r15,%rdi
22: e8 ca 5a 38 00 call 0x385af1
27: 4d 8b 3f mov (%r15),%r15
* 2a: 4c 89 ff mov %r15,%rdi <-- trapping instruction
2d: 48 89 de mov %rbx,%rsi
30: e8 6c f6 f3 ff call 0xfff3f6a1
35: 49 39 df cmp %rbx,%r15
38: 76 0c jbe 0x46
3a: e8 82 f4 f3 ff call 0xfff3f4c1
3f: b8 .byte 0xb8