------------[ cut here ]------------
WARNING: CPU: 0 PID: 3561 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 3561 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 8d 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 10 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:ffffc900000079f8 EFLAGS: 00010246
RAX: ffffffff819ed900 RBX: 0000000000000008 RCX: ffff88807ddad940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100fbb5b29
R10: ffffed100fbb5b29 R11: 1ffff1100fbb5b28 R12: ffff88807ddaf0c8
R13: 00007ffffffff000 R14: ffffc90000007a68 R15: 0000000000000000
FS: 00007fd2c94f7880(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002a4b4000 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_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_2f48b2f54611f152+0x60/0x198
bpf_dispatcher_nop_func include/linux/bpf.h:888 [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
__bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138
trace_kmem_cache_free include/trace/events/kmem.h:138 [inline]
kmem_cache_free+0x1e7/0x210 mm/slub.c:3521
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763
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:__lt_find include/linux/rbtree_latch.h:-1 [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+0xc3/0x270 kernel/bpf/core.c:726
Code: 00 00 00 00 00 fc ff df 44 8b 2d 08 1c 5d 0a 45 89 ef 41 83 e7 01 4e 8d 34 fd b0 f3 e0 8b 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 f7 e8 93 5c 38 00 4d 8b 36 4d 85 f6 0f 84 be 00 00 00
RSP: 0018:ffffc90002dcfa60 EFLAGS: 00000246
RAX: 1ffffffff17c1e76 RBX: 00007fd2c9653a67 RCX: ffff88807ddad940
RDX: 0000000000000000 RSI: ffffffff8a59e560 RDI: ffffffff8a59e520
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ff7c19
R10: fffffbfff1ff7c19 R11: 1ffffffff1ff7c18 R12: dffffc0000000000
R13: 0000000000000084 R14: ffffffff8be0f3b0 R15: 0000000000000000
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
__do_sys_close fs/open.c:1382 [inline]
__se_sys_close fs/open.c:1380 [inline]
__x64_sys_close+0x34/0x70 fs/open.c:1380
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:0x7fd2c9653a67
Code: 44 00 00 48 83 ec 10 48 63 ff 45 31 c9 45 31 c0 6a 01 31 c9 e8 ca 19 f9 ff 48 83 c4 18 c3 0f 1f 44 00 00 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 61 b3 0d 00 f7 d8 64 89 02 b8
RSP: 002b:00007ffc58f0a438 EFLAGS: 00000202
ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 000055f286f40b80 RCX: 00007fd2c9653a67
RDX: 000000000000ece1 RSI: 00007fd2c972fb20 RDI: 000000000000000c
RBP: 000055f286eaad20 R08: 0000000000006ca0 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000202 R12: 000055f286eb67b0
R13: 0000000000000100 R14: 000055f24c77bbe0 R15: 00007ffc58f0a680
----------------
Code disassembly (best guess), 7 bytes skipped:
0: df 44 8b 2d filds 0x2d(%rbx,%rcx,4)
4: 08 1c 5d 0a 45 89 ef or %bl,-0x1076baf6(,%rbx,2)
b: 41 83 e7 01 and $0x1,%r15d
f: 4e 8d 34 fd b0 f3 e0 lea -0x741f0c50(,%r15,8),%r14
16: 8b
17: 4c 89 f0 mov %r14,%rax
1a: 48 c1 e8 03 shr $0x3,%rax
1e: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
* 23: 74 08 je 0x2d <-- trapping instruction
25: 4c 89 f7 mov %r14,%rdi
28: e8 93 5c 38 00 call 0x385cc0
2d: 4d 8b 36 mov (%r14),%r14
30: 4d 85 f6 test %r14,%r14
33: 0f 84 be 00 00 00 je 0xf7