------------[ cut here ]------------ WARNING: CPU: 0 PID: 3547 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 0 PID: 3547 Comm: udevd Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:226 Code: db 48 c7 c0 f2 ff ff ff 48 0f 44 c5 eb 0c e8 cb c6 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b4 c6 d5 ff <0f> 0b e9 1e ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ef fe ff RSP: 0018:ffffc900000079c8 EFLAGS: 00010246 RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff88807c4cbb80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000fff3 R13: 0000000000000008 R14: 000000000000fff3 R15: ffffc90000007a28 FS: 00007f24bc187c80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000000fff3 CR3: 000000002ac18000 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_user kernel/trace/bpf_trace.c:166 [inline] bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163 bpf_prog_071a4ead9ff461a9+0x38/0xcfc bpf_dispatcher_nop_func include/linux/bpf.h:790 [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+0x1d1/0x380 kernel/trace/bpf_trace.c:1916 __bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138 __traceiter_kmem_cache_free+0x2e/0x50 include/trace/events/kmem.h:138 trace_kmem_cache_free include/trace/events/kmem.h:138 [inline] kmem_cache_free+0x1ce/0x1f0 mm/slub.c:3516 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 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:___might_sleep+0x7a/0x6a0 kernel/sched/core.c:9595 Code: 8c 48 c7 44 24 50 70 39 59 81 4c 8d 7c 24 40 49 c1 ef 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 04 37 43 c7 44 37 09 f2 f2 f2 00 <66> 43 c7 44 37 0d f3 f3 43 c6 44 37 0f f3 e8 83 3a db 08 85 c0 74 RSP: 0018:ffffc90002d67820 EFLAGS: 00000a06 RAX: f2f2f200f1f1f1f1 RBX: ffff888076780f30 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 00000000000005d9 RDI: ffffffff8a8b1de0 RBP: ffffc90002d67940 R08: ffffffff81fc7026 R09: fffff520005acf8a R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffffff8c7cd520 R14: dffffc0000000000 R15: 1ffff920005acf0c down_read+0x21/0x2e0 kernel/locking/rwsem.c:1497 kernfs_iop_permission+0x6a/0x360 fs/kernfs/inode.c:284 do_inode_permission fs/namei.c:459 [inline] inode_permission+0x22f/0x450 fs/namei.c:526 may_lookup fs/namei.c:1693 [inline] link_path_walk+0x2be/0xd90 fs/namei.c:2245 path_lookupat+0xa9/0x450 fs/namei.c:2454 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 do_readlinkat+0x114/0x3a0 fs/stat.c:442 __do_sys_readlink fs/stat.c:475 [inline] __se_sys_readlink fs/stat.c:472 [inline] __x64_sys_readlink+0x7b/0x90 fs/stat.c:472 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f24bc2b3d47 Code: 73 01 c3 48 8b 0d e1 90 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b1 90 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffee8dff138 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007ffee8dff148 RCX: 00007f24bc2b3d47 RDX: 0000000000000400 RSI: 00007ffee8dff148 RDI: 00007ffee8dff628 RBP: 0000000000000400 R08: 0000556c786e2d04 R09: 0000000000000000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007ffee8dff628 R13: 00007ffee8dff598 R14: 0000556c786ce910 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 8c 48 c7 mov %cs,-0x39(%rax) 3: 44 24 50 rex.R and $0x50,%al 6: 70 39 jo 0x41 8: 59 pop %rcx 9: 81 4c 8d 7c 24 40 49 orl $0xc1494024,0x7c(%rbp,%rcx,4) 10: c1 11: ef out %eax,(%dx) 12: 03 48 b8 add -0x48(%rax),%ecx 15: f1 int1 16: f1 int1 17: f1 int1 18: f1 int1 19: 00 f2 add %dh,%dl 1b: f2 f2 4b 89 04 37 repnz repnz mov %rax,(%r15,%r14,1) 21: 43 c7 44 37 09 f2 f2 movl $0xf2f2f2,0x9(%r15,%r14,1) 28: f2 00 * 2a: 66 43 c7 44 37 0d f3 movw $0xf3f3,0xd(%r15,%r14,1) <-- trapping instruction 31: f3 32: 43 c6 44 37 0f f3 movb $0xf3,0xf(%r15,%r14,1) 38: e8 83 3a db 08 call 0x8db3ac0 3d: 85 c0 test %eax,%eax 3f: 74 .byte 0x74