------------[ cut here ]------------
WARNING: CPU: 1 PID: 4181 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 4181 Comm: syz-executor Not tainted 5.15.189-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 f7 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 f4 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:ffffc90000dd09b8 EFLAGS: 00010246
RAX: ffffffff819ecfb0 RBX: 0000000000000004 RCX: ffff888065510000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100caa2001
R10: ffffed100caa2001 R11: 1ffff1100caa2000 R12: ffff888065511788
R13: 00007ffffffff000 R14: ffffc90000dd0a28 R15: 0000000000000000
FS: 000055557b638500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000638d8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
bpf_prog_3388ad4a0d630836+0x35/0xb64
__bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138
__traceiter_kmem_cache_free+0x30/0x50 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:3516
__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:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:202
Code: 66 2e 0f 1f 84 00 00 00 00 00 53 48 89 fb e8 17 00 00 00 48 8b 3d c0 ac f1 0b 48 89 de 5b e9 77 99 43 00 00 00 cc cc 00 00 cc <48> 8b 04 24 65 48 8b 0d 94 ab 8a 7e 65 8b 15 95 ab 8a 7e 81 e2 00
RSP: 0018:ffffc90002f1f7b8 EFLAGS: 00000287
R10: ffffed100e7d18fa R11: 1ffff1100e7d18f9 R12: dffffc0000000000
R13: 1ffff920005e3f63 R14: ffff888073e8c758 R15: 0000000000200000
step_into+0x2d4/0xd00 fs/namei.c:1810
link_path_walk+0x662/0xd40 fs/namei.c:-1
path_lookupat+0x9d/0x440 fs/namei.c:2454
filename_lookup+0x1e2/0x4f0 fs/namei.c:2484
user_path_at_empty+0x40/0x190 fs/namei.c:2883
user_path_at include/linux/namei.h:57 [inline]
vfs_statx+0x102/0x4d0 fs/stat.c:221
vfs_fstatat fs/stat.c:243 [inline]
__do_sys_newfstatat fs/stat.c:411 [inline]
__se_sys_newfstatat fs/stat.c:405 [inline]
__x64_sys_newfstatat+0x12c/0x1b0 fs/stat.c:405
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:0x7feb958233fa
Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 c7 c2 a8 ff ff ff f7
RSP: 002b:00007fff26437988 EFLAGS: 00000286 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 00007feb958a7c05 RCX: 00007feb958233fa
RDX: 00007fff264379b0 RSI: 00007fff26437a40 RDI: 00000000ffffff9c
RBP: 00007fff26437a40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000286 R12: 00007fff26438ad0
R13: 00007feb958a7c05 R14: 000000000003a33d R15: 00007fff26438b10
----------------
Code disassembly (best guess):
0: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
7: 00 00 00
a: 53 push %rbx
b: 48 89 fb mov %rdi,%rbx
e: e8 17 00 00 00 call 0x2a
13: 48 8b 3d c0 ac f1 0b mov 0xbf1acc0(%rip),%rdi # 0xbf1acda
1a: 48 89 de mov %rbx,%rsi
1d: 5b pop %rbx
1e: e9 77 99 43 00 jmp 0x43999a
23: 00 00 add %al,(%rax)
25: cc int3
26: cc int3
27: 00 00 add %al,(%rax)
29: cc int3
* 2a: 48 8b 04 24 mov (%rsp),%rax <-- trapping instruction
2e: 65 48 8b 0d 94 ab 8a mov %gs:0x7e8aab94(%rip),%rcx # 0x7e8aabca
35: 7e
36: 65 8b 15 95 ab 8a 7e mov %gs:0x7e8aab95(%rip),%edx # 0x7e8aabd2
3d: 81 .byte 0x81
3e: e2 00 loop 0x40