------------[ cut here ]------------ WARNING: CPU: 1 PID: 5118 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154 Modules linked in: CPU: 1 PID: 5118 Comm: syz-executor.2 Not tainted 6.3.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154 Code: ff e8 45 5d ec f8 0f 0b e9 07 fe ff ff e8 39 5d ec f8 0f 0b e9 3f fe ff ff e8 2d 5d ec f8 0f 0b e9 95 fd ff ff e8 21 5d ec f8 <0f> 0b e9 9f fe ff ff e8 f5 6e 3d f9 e9 7a fc ff ff 4c 89 e7 e8 28 RSP: 0018:ffffc900001e0c48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100 RDX: ffff88801efb9d40 RSI: ffffffff88967cdf RDI: 0000000000000005 RBP: ffff88801cc94980 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000ffff9000 R11: 0000000000000001 R12: ffff88801cc949a8 R13: ffff88801cc94bf4 R14: ffff88801cc94a00 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:0000000057041380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7351d4c CR3: 000000004e3cf000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000000000000c8 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x4d/0x770 net/core/sock.c:2135 sk_destruct net/core/sock.c:2183 [inline] __sk_free+0x175/0x460 net/core/sock.c:2194 sk_free+0x7c/0xa0 net/core/sock.c:2205 sock_put include/net/sock.h:1968 [inline] tcp_write_timer+0x24b/0x2b0 net/ipv4/tcp_timer.c:644 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__seqprop_spinlock_sequence include/linux/seqlock.h:275 [inline] RIP: 0010:read_seqbegin include/linux/seqlock.h:836 [inline] RIP: 0010:zone_span_seqbegin include/linux/memory_hotplug.h:132 [inline] RIP: 0010:page_outside_zone_boundaries mm/page_alloc.c:629 [inline] RIP: 0010:bad_range+0xd3/0x3e0 mm/page_alloc.c:656 Code: 24 70 4c 89 ff e8 0d 7d 9c ff 58 48 b8 00 00 00 00 00 fc ff df 9c 5a 80 e6 02 0f 85 0c 02 00 00 4d 85 ed 74 01 fb 0f b6 55 00 <84> d2 74 09 80 fa 03 0f 8e 1a 02 00 00 44 8b ab c0 00 00 00 41 f6 RSP: 0018:ffffc9000467efd8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: ffff88813fffa700 RCX: 1ffffffff22a5b7e RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffed1027fff4f8 R08: 0000000000000001 R09: ffffffff914d2c77 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000200 R14: ffffed1027fff4f0 R15: ffff88813fffa7c8 rmqueue mm/page_alloc.c:3884 [inline] get_page_from_freelist+0x1170/0x2e20 mm/page_alloc.c:4323 __alloc_pages+0x1cb/0x4a0 mm/page_alloc.c:5592 __alloc_pages_bulk+0x9a6/0x1590 mm/page_alloc.c:5540 alloc_pages_bulk_array_mempolicy+0x1b7/0x360 mm/mempolicy.c:2378 vm_area_alloc_pages mm/vmalloc.c:2918 [inline] __vmalloc_area_node mm/vmalloc.c:3029 [inline] __vmalloc_node_range+0xe69/0x14a0 mm/vmalloc.c:3201 __vmalloc_node mm/vmalloc.c:3266 [inline] vmalloc+0x6b/0x80 mm/vmalloc.c:3299 xt_compat_init_offsets+0xe3/0x220 net/netfilter/x_tables.c:733 translate_compat_table+0x1f3/0x1840 net/ipv4/netfilter/ip_tables.c:1409 compat_do_replace.constprop.0+0x24e/0x400 net/ipv4/netfilter/ip_tables.c:1519 do_ipt_set_ctl+0x5bc/0xb10 net/ipv4/netfilter/ip_tables.c:1626 nf_setsockopt+0x87/0xe0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0xf2/0x110 net/ipv4/ip_sockglue.c:1460 tcp_setsockopt+0x9f/0x100 net/ipv4/tcp.c:3804 __sys_setsockopt+0x2c6/0x5b0 net/socket.c:2271 __do_compat_sys_socketcall+0x5ea/0x720 net/compat.c:490 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7fbb579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f749f650 EFLAGS: 00000286 ORIG_RAX: 0000000000000066 RAX: ffffffffffffffda RBX: 000000000000000e RCX: 00000000f749f668 RDX: 00000000f749f8d8 RSI: 00000000f749f6d8 RDI: 00000000f749f72c RBP: 00000000f7351ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 24 70 and $0x70,%al 2: 4c 89 ff mov %r15,%rdi 5: e8 0d 7d 9c ff callq 0xff9c7d17 a: 58 pop %rax b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 12: fc ff df 15: 9c pushfq 16: 5a pop %rdx 17: 80 e6 02 and $0x2,%dh 1a: 0f 85 0c 02 00 00 jne 0x22c 20: 4d 85 ed test %r13,%r13 23: 74 01 je 0x26 25: fb sti 26: 0f b6 55 00 movzbl 0x0(%rbp),%edx * 2a: 84 d2 test %dl,%dl <-- trapping instruction 2c: 74 09 je 0x37 2e: 80 fa 03 cmp $0x3,%dl 31: 0f 8e 1a 02 00 00 jle 0x251 37: 44 8b ab c0 00 00 00 mov 0xc0(%rbx),%r13d 3e: 41 rex.B 3f: f6 .byte 0xf6