------------[ cut here ]------------
WARNING: CPU: 1 PID: 4318 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 4318 Comm: udevd Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ad e2 d7 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 30 df d7 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:ffffc90000dcf9b8 EFLAGS: 00010246
RAX: ffffffff819fe2f0 RBX: 0000000000000008 RCX: ffff888021ae8000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100435d001
R10: ffffed100435d001 R11: 1ffff1100435d000 R12: ffff888021ae9788
R13: 00007ffffffff000 R14: ffffc90000dcfa28 R15: 00000000008f0000
FS: 00007f0af010e880(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000008f0000 CR3: 000000005e1ec000 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/0x87c
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_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:4549
skb_free_head net/core/skbuff.c:655 [inline]
skb_release_data+0x6fe/0x850 net/core/skbuff.c:677
skb_release_all net/core/skbuff.c:742 [inline]
__kfree_skb+0x4c/0x60 net/core/skbuff.c:756
tcp_clean_rtx_queue net/ipv4/tcp_input.c:3400 [inline]
tcp_ack+0x2086/0x6260 net/ipv4/tcp_input.c:3957
tcp_rcv_established+0xe7d/0x1c80 net/ipv4/tcp_input.c:5973
tcp_v4_do_rcv+0x44b/0x9b0 net/ipv4/tcp_ipv4.c:1731
tcp_v4_rcv+0x268f/0x2cb0 net/ipv4/tcp_ipv4.c:2143
ip_protocol_deliver_rcu+0x3ad/0x770 net/ipv4/ip_input.c:204
ip_local_deliver_finish+0x1d5/0x320 net/ipv4/ip_input.c:231
NF_HOOK+0x2d6/0x360 include/linux/netfilter.h:302
dst_input include/net/dst.h:462 [inline]
ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline]
ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline]
ip_sublist_rcv+0xa1f/0xce0 net/ipv4/ip_input.c:636
ip_list_rcv+0x3df/0x430 net/ipv4/ip_input.c:671
__netif_receive_skb_list_ptype net/core/dev.c:5568 [inline]
__netif_receive_skb_list_core+0x574/0x740 net/core/dev.c:5616
__netif_receive_skb_list net/core/dev.c:5668 [inline]
netif_receive_skb_list_internal+0x871/0xb90 net/core/dev.c:5759
gro_normal_list net/core/dev.c:5913 [inline]
napi_complete_done+0x37d/0x830 net/core/dev.c:6651
virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline]
virtnet_poll+0x912/0xef0 drivers/net/virtio_net.c:1592
__napi_poll+0xc0/0x430 net/core/dev.c:7075
napi_poll net/core/dev.c:7142 [inline]
net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232
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
common_interrupt+0xb5/0xd0 arch/x86/kernel/irq.c:242
asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667
RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:52 [inline]
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:178 [inline]
RIP: 0010:unwind_next_frame+0x1073/0x1d90 arch/x86/kernel/unwind_orc.c:448
Code: 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 27 49 63 06 4c 01 f0 49 8d 4e 04 48 39 e8 4c 0f 46 e9 <49> 8d 46 fc 4c 0f 47 e0 4d 0f 46 fe 4d 39 e5 76 a8 e9 be f1 ff ff
RSP: 0018:ffffc900032ff9e8 EFLAGS: 00000293
RAX: ffffffff81bc8d7a RBX: ffffc900032ffaa8 RCX: ffffffff8d7e033c
RDX: ffffffff8d7e0318 RSI: ffffffff8decc576 RDI: ffffffff8134690c
RBP: ffffffff81bc8dbb R08: 000000000000000a R09: 0000000000000001
R10: fffff5200065ff61 R11: 1ffff9200065ff5f R12: ffffffff8d7e033c
R13: ffffffff8d7e033c R14: ffffffff8d7e0338 R15: ffffffff8d7e0334
arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:254 [inline]
slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
slab_alloc_node mm/slub.c:3220 [inline]
slab_alloc mm/slub.c:3228 [inline]
kmem_cache_alloc+0x100/0x290 mm/slub.c:3233
getname_flags+0xb5/0x500 fs/namei.c:138
getname fs/namei.c:217 [inline]
__do_sys_unlink fs/namei.c:4396 [inline]
__se_sys_unlink fs/namei.c:4394 [inline]
__x64_sys_unlink+0x38/0x50 fs/namei.c:4394
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:0x7f0af026a937
Code: 00 00 e9 a9 fd ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 5f 00 00 00 0f 05 c3 0f 1f 84 00 00 00 00 00 b8 57 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 91 b4 0d 00 f7 d8 64 89 02 b8
RSP: 002b:00007ffe80262c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 000055f43f440710 RCX: 00007f0af026a937
RDX: 0000000000000000 RSI: 00007ffe80261be0 RDI: 00007ffe80262c30
RBP: 00000000000001ac R08: 0000000000000064 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe80262c30
R13: 000055f43f4583c0 R14: 0000000000000008 R15: 000055f43f440710
----------------
Code disassembly (best guess):
0: 4c 89 f0 mov %r14,%rax
3: 48 c1 e8 03 shr $0x3,%rax
7: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
e: fc ff df
11: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax
15: 84 c0 test %al,%al
17: 75 27 jne 0x40
19: 49 63 06 movslq (%r14),%rax
1c: 4c 01 f0 add %r14,%rax
1f: 49 8d 4e 04 lea 0x4(%r14),%rcx
23: 48 39 e8 cmp %rbp,%rax
26: 4c 0f 46 e9 cmovbe %rcx,%r13
* 2a: 49 8d 46 fc lea -0x4(%r14),%rax <-- trapping instruction
2e: 4c 0f 47 e0 cmova %rax,%r12
32: 4d 0f 46 fe cmovbe %r14,%r15
36: 4d 39 e5 cmp %r12,%r13
39: 76 a8 jbe 0xffffffe3
3b: e9 be f1 ff ff jmp 0xfffff1fe