------------[ cut here ]------------ WARNING: CPU: 1 PID: 4061 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6e7/0x7f0 Modules linked in: CPU: 1 PID: 4061 Comm: syz-executor Not tainted 6.1.107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:inet_sock_destruct+0x6e7/0x7f0 net/ipv4/af_inet.c:154 Code: ff ff e8 bc 14 54 f8 0f 0b e9 21 fe ff ff e8 b0 14 54 f8 0f 0b 41 80 3c 2c 00 0f 85 4c fe ff ff e9 4f fe ff ff e8 99 14 54 f8 <0f> 0b e9 bb fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 0e fc ff RSP: 0018:ffffc900001e0b30 EFLAGS: 00010246 RAX: ffffffff893699d7 RBX: 0000000000000100 RCX: ffff888025930000 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff88802c1a0000 R08: ffffffff8936988c R09: ffffed100583404f R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11005834005 R13: ffff88802c1a04e8 R14: ffff88802c1a0028 R15: ffff88802c1a0012 FS: 000055557ccb6500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12b26ea338 CR3: 000000001ff06000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x50/0x5f0 net/core/sock.c:2139 rcu_do_batch kernel/rcu/tree.c:2297 [inline] rcu_core+0xade/0x1820 kernel/rcu/tree.c:2557 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__alloc_pages+0x0/0x770 mm/page_alloc.c:5524 Code: e1 07 80 c1 03 38 c1 0f 8c 22 ff ff ff 48 89 3c 24 48 89 df 49 89 d5 e8 ee e4 0b 00 48 8b 3c 24 4c 89 ea e9 07 ff ff ff 66 90 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec e0 00 RSP: 0018:ffffc9000312f438 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff88801ce81f28 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000002dc2 RBP: ffffc9000312f5d0 R08: dffffc0000000000 R09: ffffc9000312f500 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 1ffff92000625e00 R15: 0000000000002dc2 __alloc_pages_bulk+0x74a/0xd60 mm/page_alloc.c:5506 vm_area_alloc_pages mm/vmalloc.c:2958 [inline] __vmalloc_area_node mm/vmalloc.c:3061 [inline] __vmalloc_node_range+0x735/0x14b0 mm/vmalloc.c:3233 __vmalloc_node mm/vmalloc.c:3298 [inline] vzalloc+0x75/0x80 mm/vmalloc.c:3371 alloc_counters+0xd0/0x7b0 net/ipv4/netfilter/ip_tables.c:801 copy_entries_to_user net/ipv4/netfilter/ip_tables.c:823 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1024 [inline] do_ipt_get_ctl+0xeb1/0x1890 net/ipv4/netfilter/ip_tables.c:1670 nf_getsockopt+0x28e/0x2b0 net/netfilter/nf_sockopt.c:116 ip_getsockopt+0x21a/0x2d0 net/ipv4/ip_sockglue.c:1826 tcp_getsockopt+0x15c/0x1c0 net/ipv4/tcp.c:4450 __sys_getsockopt+0x2b2/0x5d0 net/socket.c:2327 __do_sys_getsockopt net/socket.c:2342 [inline] __se_sys_getsockopt net/socket.c:2339 [inline] __x64_sys_getsockopt+0xb1/0xc0 net/socket.c:2339 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f12b257bbfa Code: ff c3 66 0f 1f 44 00 00 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b8 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 a8 ff ff ff f7 RSP: 002b:00007ffebc3aaed8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffebc3aaf60 RCX: 00007f12b257bbfa RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffebc3aaefc R09: 0079746972756365 R10: 00007ffebc3aaf60 R11: 0000000000000216 R12: 00007f12b26ea940 R13: 00007ffebc3aaefc R14: 0000000000000000 R15: 00007f12b26eb000 ---------------- Code disassembly (best guess): 0: e1 07 loope 0x9 2: 80 c1 03 add $0x3,%cl 5: 38 c1 cmp %al,%cl 7: 0f 8c 22 ff ff ff jl 0xffffff2f d: 48 89 3c 24 mov %rdi,(%rsp) 11: 48 89 df mov %rbx,%rdi 14: 49 89 d5 mov %rdx,%r13 17: e8 ee e4 0b 00 call 0xbe50a 1c: 48 8b 3c 24 mov (%rsp),%rdi 20: 4c 89 ea mov %r13,%rdx 23: e9 07 ff ff ff jmp 0xffffff2f 28: 66 90 xchg %ax,%ax * 2a: 55 push %rbp <-- trapping instruction 2b: 48 89 e5 mov %rsp,%rbp 2e: 41 57 push %r15 30: 41 56 push %r14 32: 41 55 push %r13 34: 41 54 push %r12 36: 53 push %rbx 37: 48 83 e4 e0 and $0xffffffffffffffe0,%rsp 3b: 48 rex.W 3c: 81 .byte 0x81 3d: ec in (%dx),%al 3e: e0 00 loopne 0x40