------------[ cut here ]------------ WARNING: CPU: 0 PID: 4207 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0 Modules linked in: CPU: 0 PID: 4207 Comm: kworker/0:4 Not tainted 5.15.177-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events iterate_cleanup_work 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 ab ba d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 94 ba 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:ffffc900000079f0 EFLAGS: 00010246 RAX: ffffffff81aacafc RBX: 0000000000000000 RCX: ffff888062523b80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81aaca0d R09: ffffed100c4a4771 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90000007a68 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb60e474bac CR3: 000000005e897000 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+0xe4/0x180 kernel/trace/bpf_trace.c:277 bpf_prog_3d2613b5dfc7747f+0x32/0x8f8 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 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:nf_ct_iterate_cleanup+0x84/0x3b0 net/netfilter/nf_conntrack_core.c:2381 Code: 0f 84 16 03 00 00 49 bc 00 00 00 00 00 fc ff df 89 e8 41 89 ee 25 ff 03 00 00 48 c1 e0 06 48 8d 80 80 4a 86 8c 48 89 44 24 08 <4c> 89 34 24 4a 8d 1c f5 00 00 00 00 48 03 1d c1 89 6f 05 49 89 de RSP: 0018:ffffc9000310faf0 EFLAGS: 00000206 RAX: ffffffff8c871080 RBX: ffff88802bd7f8b8 RCX: ffff888062523b80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 000000000002ff18 R08: ffffffff889b98ae R09: fffffbfff2131833 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc9000310fb80 R14: 000000000002ff18 R15: ffffffff889b9ba0 nf_ct_iterate_cleanup_net+0x15e/0x1d0 net/netfilter/nf_conntrack_core.c:2465 iterate_cleanup_work+0x63/0x110 net/netfilter/nf_nat_masquerade.c:83 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ---------------- Code disassembly (best guess): 0: 0f 84 16 03 00 00 je 0x31c 6: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 d: fc ff df 10: 89 e8 mov %ebp,%eax 12: 41 89 ee mov %ebp,%r14d 15: 25 ff 03 00 00 and $0x3ff,%eax 1a: 48 c1 e0 06 shl $0x6,%rax 1e: 48 8d 80 80 4a 86 8c lea -0x7379b580(%rax),%rax 25: 48 89 44 24 08 mov %rax,0x8(%rsp) * 2a: 4c 89 34 24 mov %r14,(%rsp) <-- trapping instruction 2e: 4a 8d 1c f5 00 00 00 lea 0x0(,%r14,8),%rbx 35: 00 36: 48 03 1d c1 89 6f 05 add 0x56f89c1(%rip),%rbx # 0x56f89fe 3d: 49 89 de mov %rbx,%r14