------------[ cut here ]------------ WARNING: CPU: 0 PID: 4337 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 0 PID: 4337 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 6d 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 f0 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:ffffc90000007990 EFLAGS: 00010246 RAX: ffffffff819ed660 RBX: 0000000000000000 RCX: ffff88807ae85940 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100f5d0b29 R10: ffffed100f5d0b29 R11: 1ffff1100f5d0b28 R12: ffff88807ae870c8 R13: 00007ffffffff000 R14: ffffc90000007a08 R15: 0000000000000000 FS: 00007f6d162e3880(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2d14ba CR3: 00000000748d2000 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_03eebc38237b138e+0x34/0x7c 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194 Code: 74 05 e8 ae 4b cb f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 36 d5 9e f7 65 8b 05 17 d3 4f 76 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc9000303f8e0 EFLAGS: 00000206 RAX: 71bd4b616c05a300 RBX: 0000000000000a02 RCX: 71bd4b616c05a300 RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: 0000000000000001 RBP: ffffc9000303f978 R08: dffffc0000000000 R09: fffffbfff1ff7a2f R10: fffffbfff1ff7a2f R11: 1ffffffff1ff7a2e R12: dffffc0000000000 R13: 0000000000000001 R14: ffffffff96292a00 R15: 1ffff92000607f1c debug_object_activate+0x2d2/0x480 lib/debugobjects.c:712 debug_rcu_head_queue kernel/rcu/rcu.h:176 [inline] __call_rcu kernel/rcu/tree.c:2995 [inline] call_rcu+0xa7/0x930 kernel/rcu/tree.c:3091 __destroy_inode+0x27b/0x5f0 fs/inode.c:286 destroy_inode fs/inode.c:309 [inline] evict+0x72e/0x870 fs/inode.c:662 __dentry_kill+0x431/0x650 fs/dcache.c:586 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xd8/0x1a0 fs/dcache.c:893 do_renameat2+0x704/0xf70 fs/namei.c:4987 __do_sys_rename fs/namei.c:5031 [inline] __se_sys_rename fs/namei.c:5029 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5029 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:0x7f6d163a4cc7 Code: e8 5e a7 09 00 f7 d8 19 c0 5b c3 0f 1f 84 00 00 00 00 00 b8 ff ff ff ff 5b c3 66 0f 1f 84 00 00 00 00 00 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 01 61 17 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffee5b740e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00005643d1c117a0 RCX: 00007f6d163a4cc7 RDX: 00005643d1bf4010 RSI: 00007ffee5b74100 RDI: 00007ffee5b74500 RBP: 00005643d1bf4fb0 R08: 00000000000001e0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffee5b74100 R13: 00007ffee5b74500 R14: 0000000000000000 R15: 000056439f11d9dd ---------------- Code disassembly (best guess): 0: 74 05 je 0x7 2: e8 ae 4b cb f7 call 0xf7cb4bb5 7: 48 c7 44 24 20 00 00 movq $0x0,0x20(%rsp) e: 00 00 10: 9c pushf 11: 8f 44 24 20 pop 0x20(%rsp) 15: f6 44 24 21 02 testb $0x2,0x21(%rsp) 1a: 75 4b jne 0x67 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 36 d5 9e f7 call 0xf79ed565 <-- trapping instruction 2f: 65 8b 05 17 d3 4f 76 mov %gs:0x764fd317(%rip),%eax # 0x764fd34d 36: 85 c0 test %eax,%eax 38: 74 3c je 0x76 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss