------------[ cut here ]------------
WARNING: CPU: 0 PID: 4014 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 0 PID: 4014 Comm: syz.4.108 Not tainted 5.15.167-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 eb c6 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 d4 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:ffffc90000007a00 EFLAGS: 00010246
RAX: ffffffff81aa939c RBX: 0000000000000000 RCX: ffff888024ba5940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aa92ad R09: fffffbfff1bd2c16
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000008 R14: 0000000000000000 R15: ffffc90000007a68
FS: 00007f344bd086c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007bee7000 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_02073d59a3c0f06f+0x3d/0xf4
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_run3+0x1d1/0x380 kernel/trace/bpf_trace.c:1918
__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
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:trace_lock_release include/trace/events/lock.h:58 [inline]
RIP: 0010:lock_release+0xb2/0x9a0 kernel/locking/lockdep.c:5634
Code: 83 fb 08 0f 83 d3 05 00 00 89 d8 c1 e8 06 48 8d 3c c5 a8 60 e9 8d be 08 00 00 00 e8 08 52 67 00 89 d8 48 0f a3 05 86 8c 86 0c <73> 0d e8 07 45 08 00 84 c0 0f 84 d8 05 00 00 48 c7 c0 44 94 e9 8d
RSP: 0018:ffffc90002fa7600 EFLAGS: 00000257
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8162d418
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de960a8
RBP: ffffc90002fa7730 R08: dffffc0000000000 R09: fffffbfff1bd2c16
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005f4ecc
R13: ffffffff88d349b5 R14: dffffc0000000000 R15: dffffc0000000000
rcu_read_unlock include/linux/rcupdate.h:772 [inline]
inet_twsk_purge+0x934/0x9d0 net/ipv4/inet_timewait_sock.c:309
ops_exit_list net/core/net_namespace.c:177 [inline]
setup_net+0x81c/0x9e0 net/core/net_namespace.c:355
copy_net_ns+0x392/0x5d0 net/core/net_namespace.c:476
create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110
copy_namespaces+0x365/0x3b0 kernel/nsproxy.c:178
copy_process+0x1841/0x3ef0 kernel/fork.c:2209
kernel_clone+0x210/0x960 kernel/fork.c:2604
__do_sys_clone kernel/fork.c:2721 [inline]
__se_sys_clone kernel/fork.c:2705 [inline]
__x64_sys_clone+0x23f/0x290 kernel/fork.c:2705
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:0x7f344d8d1ff9
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:00007f344bd07fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f344da8a130 RCX: 00007f344d8d1ff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000638c1000
RBP: 00007f344d944296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f344da8a130 R15: 00007ffcc68e88f8
----------------
Code disassembly (best guess):
0: 83 fb 08 cmp $0x8,%ebx
3: 0f 83 d3 05 00 00 jae 0x5dc
9: 89 d8 mov %ebx,%eax
b: c1 e8 06 shr $0x6,%eax
e: 48 8d 3c c5 a8 60 e9 lea -0x72169f58(,%rax,8),%rdi
15: 8d
16: be 08 00 00 00 mov $0x8,%esi
1b: e8 08 52 67 00 call 0x675228
20: 89 d8 mov %ebx,%eax
22: 48 0f a3 05 86 8c 86 bt %rax,0xc868c86(%rip) # 0xc868cb0
29: 0c
* 2a: 73 0d jae 0x39 <-- trapping instruction
2c: e8 07 45 08 00 call 0x84538
31: 84 c0 test %al,%al
33: 0f 84 d8 05 00 00 je 0x611
39: 48 c7 c0 44 94 e9 8d mov $0xffffffff8de99444,%rax