------------[ cut here ]------------
WARNING: CPU: 1 PID: 4617 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 4617 Comm: syz.3.121 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 3d 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 c0 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:ffffc90000dd09f8 EFLAGS: 00010246
RAX: ffffffff819ed760 RBX: 0000000000000004 RCX: ffff888028221dc0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10050443b9
R10: ffffed10050443b9 R11: 1ffff110050443b8 R12: ffff888028223548
R13: 00007ffffffff000 R14: ffffc90000dd0a68 R15: 0000000000000000
FS: 00007f3b4685b6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007a611000 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_3388ad4a0d630836+0x35/0xe94
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:unwind_next_frame+0x1581/0x1d90 arch/x86/kernel/unwind_orc.c:626
Code: 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 48 0f b6 04 01 84 c0 0f 85 df 01 00 00 c7 03 00 00 00 00 31 c0 48 81 c4 88 00 00 00 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 49 c7 c5 e8 76 74 8d 4c 89 e0 4c
RSP: 0018:ffffc9000301e630 EFLAGS: 00000296
RAX: 0000000080000001 RBX: ffffc9000301e6c8 RCX: 0000000080000000
RDX: ffffc9000301e701 RSI: ffffc9000301e6b8 RDI: 00000000ffffffff
RBP: ffffc9000301e710 R08: dffffc0000000000 R09: ffffc9000301e718
R10: fffff52000603ce5 R11: 1ffff92000603ce3 R12: ffffc90003018000
R13: dffffc0000000000 R14: ffffc9000301e6d8 R15: ffffc9000301e6c8
__unwind_start+0x5bb/0x740 arch/x86/kernel/unwind_orc.c:704
unwind_start arch/x86/include/asm/unwind.h:60 [inline]
arch_stack_walk+0xda/0x140 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
save_stack+0xf3/0x1e0 mm/page_owner.c:119
__set_page_owner+0x41/0x2d0 mm/page_owner.c:181
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192
__alloc_pages+0x1e1/0x470 mm/page_alloc.c:5487
__page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022
page_cache_ra_unbounded+0x255/0x930 mm/readahead.c:216
page_cache_async_readahead include/linux/pagemap.h:856 [inline]
do_async_mmap_readahead mm/filemap.c:3023 [inline]
filemap_fault+0x5ff/0x13b0 mm/filemap.c:3079
__do_fault+0x141/0x330 mm/memory.c:3928
do_read_fault mm/memory.c:4264 [inline]
do_fault mm/memory.c:4392 [inline]
handle_pte_fault mm/memory.c:4650 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x2949/0x43c0 mm/memory.c:4883
faultin_page mm/gup.c:976 [inline]
__get_user_pages+0x93e/0x11c0 mm/gup.c:1197
__get_user_pages_locked mm/gup.c:1382 [inline]
get_dump_page+0x188/0x670 mm/gup.c:1838
dump_user_range+0x54/0x340 fs/coredump.c:1013
elf_core_dump+0x2ff7/0x3530 fs/binfmt_elf.c:2285
do_coredump+0x1419/0x2960 fs/coredump.c:894
get_signal+0x40a/0x12c0 kernel/signal.c:2886
arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1504
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0x7f3b485f3bb1
Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:00000000fffffeb0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f3b4883afa0 RCX: 00007f3b485f3ba9
RDX: 0000000000000000 RSI: 00000000fffffeb0 RDI: 0000000002000400
RBP: 00007f3b48676e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f3b4883b038 R14: 00007f3b4883afa0 R15: 00007ffca95e1eb8
----------------
Code disassembly (best guess):
0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
7: fc ff df
a: 48 8b 4c 24 48 mov 0x48(%rsp),%rcx
f: 0f b6 04 01 movzbl (%rcx,%rax,1),%eax
13: 84 c0 test %al,%al
15: 0f 85 df 01 00 00 jne 0x1fa
1b: c7 03 00 00 00 00 movl $0x0,(%rbx)
21: 31 c0 xor %eax,%eax
23: 48 81 c4 88 00 00 00 add $0x88,%rsp
* 2a: 5b pop %rbx <-- trapping instruction
2b: 41 5c pop %r12
2d: 41 5d pop %r13
2f: 41 5e pop %r14
31: 41 5f pop %r15
33: 5d pop %rbp
34: c3 ret
35: 49 c7 c5 e8 76 74 8d mov $0xffffffff8d7476e8,%r13
3c: 4c 89 e0 mov %r12,%rax
3f: 4c rex.WR