------------[ cut here ]------------
WARNING: CPU: 2 PID: 5176 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 2 PID: 5176 Comm: syz-executor.2 Not tainted 6.3.0-rc7-syzkaller-00089-gcb0856346a60 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Code: ff e8 25 47 ec f8 0f 0b e9 07 fe ff ff e8 19 47 ec f8 0f 0b e9 3f fe ff ff e8 0d 47 ec f8 0f 0b e9 95 fd ff ff e8 01 47 ec f8 <0f> 0b e9 9f fe ff ff e8 05 5f 3d f9 e9 7a fc ff ff 4c 89 e7 e8 38
RSP: 0018:ffffc90000580c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff88801ed38000 RSI: ffffffff8896a97f RDI: 0000000000000005
RBP: ffff88806c898000 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000001 R12: ffff88806c898028
R13: ffff88806c898274 R14: ffff88806c898080 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:0000000056c80380
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f734e1b0 CR3: 0000000069a70000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:lock_acquire+0x1f3/0x520 kernel/locking/lockdep.c:5637
Code: d3 9d 7e 83 f8 01 0f 85 b9 02 00 00 9c 58 f6 c4 02 0f 85 a4 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90004017510 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000802ea4 RCX: ffffffff81645d4c
RDX: 1ffff11003da7146 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff914d2b8f
R10: fffffbfff229a571 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8c8e0cf8 R15: 0000000000000000
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:350 [inline]
setup_vmalloc_vm mm/vmalloc.c:2458 [inline]
__get_vm_area_node+0x176/0x3f0 mm/vmalloc.c:2505
__vmalloc_node_range+0x252/0x14a0 mm/vmalloc.c:3165
__vmalloc_node mm/vmalloc.c:3270 [inline]
vmalloc+0x6b/0x80 mm/vmalloc.c:3303
xt_compat_init_offsets+0xe3/0x220 net/netfilter/x_tables.c:733
compat_table_info+0xb7/0x5e0 net/ipv6/netfilter/ip6_tables.c:952
compat_get_entries+0x1d4/0x7d0 net/ipv6/netfilter/ip6_tables.c:1605
do_ip6t_get_ctl+0x4f1/0xa10 net/ipv6/netfilter/ip6_tables.c:1668
nf_getsockopt+0x76/0xd0 net/netfilter/nf_sockopt.c:116
ipv6_getsockopt+0x1ef/0x2a0 net/ipv6/ipv6_sockglue.c:1499
tcp_getsockopt+0x99/0x100 net/ipv4/tcp.c:4409
__sys_getsockopt+0x21a/0x6a0 net/socket.c:2315
__do_compat_sys_socketcall+0x4c1/0x720 net/compat.c:493
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:0xf7fee579
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:00000000ffdfdca0 EFLAGS: 00000282 ORIG_RAX: 0000000000000066
RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00000000ffdfdcb8
RDX: 0000000000726574 RSI: 00000000ffdfdd28 RDI: 00000000ffdfdd7c
RBP: 00000000f734fb00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: d3 9d 7e 83 f8 01 rcrl %cl,0x1f8837e(%rbp)
6: 0f 85 b9 02 00 00 jne 0x2c5
c: 9c pushfq
d: 58 pop %rax
e: f6 c4 02 test $0x2,%ah
11: 0f 85 a4 02 00 00 jne 0x2bb
17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp)
1d: 74 01 je 0x20
1f: fb sti
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction
2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx)
34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx)
3b: 00
3c: 48 rex.W
3d: 8b .byte 0x8b
3e: 84 .byte 0x84
3f: 24 .byte 0x24