------------[ cut here ]------------ WARNING: CPU: 0 PID: 4309 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 0 PID: 4309 Comm: udevd Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 fb c7 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e4 c7 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:ffffc900000078a8 EFLAGS: 00010246 RAX: ffffffff81aaabfc RBX: 0000000000000000 RCX: ffff888024e01dc0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaab0d R09: fffffbfff20ec621 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000008 R14: 0000000000000000 R15: ffffc90000007908 FS: 00007f358fea9c80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000020137000 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_d20f016a5d369cb4+0x35/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:1880 [inline] bpf_trace_run2+0x19e/0x340 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x22f/0x270 mm/slub.c:4549 skb_free_head net/core/skbuff.c:655 [inline] skb_release_data+0x73a/0x8a0 net/core/skbuff.c:677 skb_release_all net/core/skbuff.c:742 [inline] napi_consume_skb+0x1b3/0x270 net/core/skbuff.c:992 free_old_xmit_skbs+0x122/0x2c0 drivers/net/virtio_net.c:1519 virtnet_poll_tx+0x1de/0x500 drivers/net/virtio_net.c:1686 __napi_poll+0xc7/0x440 net/core/dev.c:7039 napi_poll net/core/dev.c:7106 [inline] net_rx_action+0x617/0xda0 net/core/dev.c:7196 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:should_fail+0x122/0x4c0 lib/fault-inject.c:106 Code: c0 0f 85 03 03 00 00 48 63 03 4c 39 f0 7e 70 48 89 df be 04 00 00 00 e8 ec 4e a3 fd f0 44 29 33 eb 4a 65 4c 8b 25 3e 7f db 7b <49> 81 c4 d4 15 00 00 4c 89 e3 48 c1 eb 03 42 0f b6 04 2b 84 c0 0f RSP: 0018:ffffc90002fc7c08 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffff888024e01dc0 RDX: ffff888024e01dc0 RSI: 0000000000001000 RDI: ffffffff8c9f5c20 RBP: 0000000000000cc0 R08: dffffc0000000000 R09: fffffbfff1bd2cb6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888024e01dc0 R13: dffffc0000000000 R14: 0000000000001000 R15: ffffffff8c9f5c20 should_failslab+0x5/0x20 mm/slab_common.c:1344 slab_pre_alloc_hook+0x53/0xc0 mm/slab.h:494 slab_alloc_node mm/slub.c:3134 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233 getname_flags+0xb8/0x4e0 fs/namei.c:138 do_sys_openat2+0xd2/0x4f0 fs/open.c:1247 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 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:0x7f358ffd49a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffea10fd600 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f358ffd49a4 RDX: 0000000000080000 RSI: 00007ffea10fd738 RDI: 00000000ffffff9c RBP: 00007ffea10fd738 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 000055b22a8c6b42 R14: 0000000000000001 R15: 000055b22a8e2160 ---------------- Code disassembly (best guess): 0: c0 0f 85 rorb $0x85,(%rdi) 3: 03 03 add (%rbx),%eax 5: 00 00 add %al,(%rax) 7: 48 63 03 movslq (%rbx),%rax a: 4c 39 f0 cmp %r14,%rax d: 7e 70 jle 0x7f f: 48 89 df mov %rbx,%rdi 12: be 04 00 00 00 mov $0x4,%esi 17: e8 ec 4e a3 fd call 0xfda34f08 1c: f0 44 29 33 lock sub %r14d,(%rbx) 20: eb 4a jmp 0x6c 22: 65 4c 8b 25 3e 7f db mov %gs:0x7bdb7f3e(%rip),%r12 # 0x7bdb7f68 29: 7b * 2a: 49 81 c4 d4 15 00 00 add $0x15d4,%r12 <-- trapping instruction 31: 4c 89 e3 mov %r12,%rbx 34: 48 c1 eb 03 shr $0x3,%rbx 38: 42 0f b6 04 2b movzbl (%rbx,%r13,1),%eax 3d: 84 c0 test %al,%al 3f: 0f .byte 0xf