------------[ cut here ]------------ WARNING: CPU: 1 PID: 9602 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 9602 Comm: syz.4.1831 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:ffffc90000dd0900 EFLAGS: 00010046 RAX: ffffffff819fe2f0 RBX: 0000000000000000 RCX: ffff8880294f3b80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ff3619 R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: ffff8880294f5308 R13: 1ffff920001ba130 R14: ffffc90000dd0928 R15: 0000000000000000 FS: 00007fc853a276c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000008000 CR3: 000000002305f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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_2903cf4cc3d681d2+0x3a/0xa80 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+0x17e/0x320 kernel/trace/bpf_trace.c:1916 __traceiter_percpu_free_percpu+0x77/0xd0 include/trace/events/percpu.h:43 trace_percpu_free_percpu+0x14c/0x1a0 include/trace/events/percpu.h:43 free_percpu+0x876/0xd90 mm/percpu.c:2306 mpls_dev_destroy_rcu+0x3a/0x50 net/mpls/af_mpls.c:1494 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:do_user_addr_fault+0x202/0xc80 arch/x86/include/asm/irqflags.h:-1 Code: 02 00 00 31 ff e8 4e f5 42 00 48 81 e3 00 02 00 00 75 07 e8 60 f1 42 00 eb 0b e8 59 f1 42 00 e8 64 0f 49 00 fb bb 14 02 00 00 <4c> 89 6c 24 20 0f 1f 44 00 00 e8 3f f1 42 00 45 89 f5 41 83 e5 02 RSP: 0018:ffffc9000333f7b0 EFLAGS: 00000282 RAX: e2b0fa1b9896c900 RBX: 0000000000000214 RCX: e2b0fa1b9896c900 RDX: dffffc0000000000 RSI: ffffffff8a0b11c0 RDI: ffffffff8a59a740 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed101722765a R10: ffffed101722765a R11: 1ffff11017227659 R12: ffffc9000333f888 R13: ffff88807c3eb800 R14: 0000000000000000 R15: 0000200000008000 handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x40 arch/x86/lib/copy_user_64.S:206 Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 90 90 90 90 90 90 90 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 90 90 90 90 90 90 90 90 90 90 89 d1 83 f8 RSP: 0018:ffffc9000333f938 EFLAGS: 00050206 RAX: ffffffff83d97a01 RBX: 000000000000fe33 RCX: 0000000000007e33 RDX: 000000000000fe33 RSI: 0000200000008000 RDI: ffffc900026a9000 RBP: ffffc9000333fa90 R08: dffffc0000000000 R09: fffff520004d61c7 R10: 0000000000000000 R11: 0000000000001fc0 R12: ffffc900026a1000 R13: dffffc00000000ff R14: 0000200000000000 R15: 0000000000000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline] copyin lib/iov_iter.c:168 [inline] _copy_from_iter+0x314/0x1150 lib/iov_iter.c:776 copy_from_iter include/linux/uio.h:164 [inline] copy_from_iter_full include/linux/uio.h:170 [inline] memcpy_from_msg include/linux/skbuff.h:3803 [inline] netlink_sendmsg+0x749/0xbc0 net/netlink/af_netlink.c:1890 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] sock_write_iter+0x29c/0x380 net/socket.c:1079 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x712/0xd00 fs/read_write.c:594 ksys_write+0x14d/0x250 fs/read_write.c:647 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:0x7fc855bbf929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc853a27038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc855de6fa0 RCX: 00007fc855bbf929 RDX: 000000000000fe33 RSI: 0000200000000000 RDI: 0000000000000003 RBP: 00007fc855c41b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc855de6fa0 R15: 00007fff86542658 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 31 ff xor %edi,%edi 4: e8 4e f5 42 00 call 0x42f557 9: 48 81 e3 00 02 00 00 and $0x200,%rbx 10: 75 07 jne 0x19 12: e8 60 f1 42 00 call 0x42f177 17: eb 0b jmp 0x24 19: e8 59 f1 42 00 call 0x42f177 1e: e8 64 0f 49 00 call 0x490f87 23: fb sti 24: bb 14 02 00 00 mov $0x214,%ebx * 29: 4c 89 6c 24 20 mov %r13,0x20(%rsp) <-- trapping instruction 2e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 33: e8 3f f1 42 00 call 0x42f177 38: 45 89 f5 mov %r14d,%r13d 3b: 41 83 e5 02 and $0x2,%r13d