------------[ cut here ]------------
WARNING: CPU: 1 PID: 4495 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 4495 Comm: syz.0.62 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:ffffc90000dd0998 EFLAGS: 00010246
RAX: ffffffff819ed900 RBX: 0000000000000008 RCX: ffff8880268bbb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1004d17771
R10: ffffed1004d17771 R11: 1ffff11004d17770 R12: ffff8880268bd308
R13: 00007ffffffff000 R14: ffffc90000dd0a08 R15: 00000000008f0000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000000c0 CR3: 0000000063818000 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_f9451a27f735a1c7+0x38/0x728
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_run2+0x15b/0x2d0 kernel/trace/bpf_trace.c:1915
__bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:118
trace_kfree include/trace/events/kmem.h:118 [inline]
kfree+0x25f/0x2a0 mm/slub.c:4554
security_cred_free+0xbc/0xf0 security/security.c:1719
put_cred_rcu+0xdd/0x3e0 kernel/cred.c:115
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:memset+0x0/0x40 mm/kasan/shadow.c:43
Code: e2 07 31 ed eb d7 00 00 cc cc 89 f6 48 8b 0c 24 31 d2 e9 43 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 00 00 00 e9 30 ef ff ff <55> 41 56 53 48 89 d3 89 f5 49 89 fe 48 8b 4c 24 18 48 89 d6 ba 01
RSP: 0018:ffffc90002fcf0d8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880268bc100 RCX: ffff8880268bbb80
RDX: 0000000000000080 RSI: 0000000000000000 RDI: ffffc90002fcf120
RBP: ffffc90002fcf218 R08: ffffffff8eed3048 R09: ffffffff8eed3058
R10: ffffffff8eed3050 R11: ffffffff8eed3043 R12: dffffc0000000000
R13: 1ffff920005f9e20 R14: 0000000000000000 R15: 1ffff11004d17820
save_stack+0xc4/0x1e0 mm/page_owner.c:103
__reset_page_owner+0x51/0x180 mm/page_owner.c:140
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
release_pages+0x184b/0x1bb0 mm/swap.c:963
tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:240 [inline]
tlb_flush_mmu+0xc5/0x170 mm/mmu_gather.c:247
zap_pte_range mm/memory.c:1456 [inline]
zap_pmd_range mm/memory.c:1505 [inline]
zap_pud_range mm/memory.c:1534 [inline]
zap_p4d_range mm/memory.c:1555 [inline]
unmap_page_range+0x2096/0x2520 mm/memory.c:1576
unmap_vmas+0x11b/0x230 mm/memory.c:1653
exit_mmap+0x38f/0x5f0 mm/mmap.c:3216
__mmput+0x115/0x3b0 kernel/fork.c:1127
exit_mm+0x567/0x6c0 kernel/exit.c:550
do_exit+0x5a1/0x20a0 kernel/exit.c:870
do_group_exit+0x12e/0x300 kernel/exit.c:997
get_signal+0x6ca/0x12c0 kernel/signal.c:2900
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
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5af6102749
Code: Unable to access opcode bytes at RIP 0x7f5af610271f.
RSP: 002b:00007f5af43690e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f5af6358fa8 RCX: 00007f5af6102749
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f5af6358fa8
RBP: 00007f5af6358fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5af6359038 R14: 00007fffd204f5b0 R15: 00007fffd204f698
----------------
Code disassembly (best guess):
0: e2 07 loop 0x9
2: 31 ed xor %ebp,%ebp
4: eb d7 jmp 0xffffffdd
6: 00 00 add %al,(%rax)
8: cc int3
9: cc int3
a: 89 f6 mov %esi,%esi
c: 48 8b 0c 24 mov (%rsp),%rcx
10: 31 d2 xor %edx,%edx
12: e9 43 ef ff ff jmp 0xffffef5a
17: 0f 1f 00 nopl (%rax)
1a: 89 f6 mov %esi,%esi
1c: 48 8b 0c 24 mov (%rsp),%rcx
20: ba 01 00 00 00 mov $0x1,%edx
25: e9 30 ef ff ff jmp 0xffffef5a
* 2a: 55 push %rbp <-- trapping instruction
2b: 41 56 push %r14
2d: 53 push %rbx
2e: 48 89 d3 mov %rdx,%rbx
31: 89 f5 mov %esi,%ebp
33: 49 89 fe mov %rdi,%r14
36: 48 8b 4c 24 18 mov 0x18(%rsp),%rcx
3b: 48 89 d6 mov %rdx,%rsi
3e: ba .byte 0xba
3f: 01 .byte 0x1