------------[ cut here ]------------
WARNING: CPU: 0 PID: 5186 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 0 PID: 5186 Comm: syz-executor.3 Not tainted 6.3.0-rc6-syzkaller #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 f5 7a ec f8 0f 0b e9 07 fe ff ff e8 e9 7a ec f8 0f 0b e9 3f fe ff ff e8 dd 7a ec f8 0f 0b e9 95 fd ff ff e8 d1 7a ec f8 <0f> 0b e9 9f fe ff ff e8 d5 9f 3c f9 e9 7a fc ff ff 4c 89 e7 e8 08
RSP: 0018:ffffc90000007c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff888025082280 RSI: ffffffff88957fdf RDI: 0000000000000005
RBP: ffff88802be88fc0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000023 R12: ffff88802be88fe8
R13: ffff88802be89234 R14: ffff88802be89040 R15: 0000000000000001
FS: 0000555556fd2400(0000) GS:ffff88802c600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f47cc185998 CR3: 00000000730e5000 CR4: 0000000000150ef0
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: b8 9e 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:ffffc900030473d8 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000608e7d RCX: 828164d5c8435d60
RDX: 1ffff11004a10596 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff914c7b87
R10: fffffbfff2298f70 R11: 0000000000094001 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8c792600 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:327 [inline]
rcu_read_lock include/linux/rcupdate.h:773 [inline]
page_ext_get+0x3c/0x320 mm/page_ext.c:167
__set_page_owner+0x2a/0x60 mm/page_owner.c:194
prep_new_page mm/page_alloc.c:2553 [inline]
get_page_from_freelist+0x1190/0x2e20 mm/page_alloc.c:4326
__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]
vzalloc+0x6b/0x80 mm/vmalloc.c:3339
do_ip6t_get_ctl+0x613/0xa10 net/ipv6/netfilter/ip6_tables.c:817
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_sys_getsockopt net/socket.c:2330 [inline]
__se_sys_getsockopt net/socket.c:2327 [inline]
__x64_sys_getsockopt+0xbe/0x160 net/socket.c:2327
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f47cc08d78a
Code: 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc9fced778 EFLAGS: 00000212 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 00007f47cc08d78a
RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 00007ffc9fced7a0 R08: 00007ffc9fced79c R09: ffffffffff000000
R10: 00007ffc9fced800 R11: 0000000000000212 R12: 00007ffc9fced800
R13: 0000000000000003 R14: 00007ffc9fced79c R15: 00007f47cc185fa0
----------------
Code disassembly (best guess):
0: b8 9e 7e 83 f8 mov $0xf8837e9e,%eax
5: 01 0f add %ecx,(%rdi)
7: 85 b9 02 00 00 9c test %edi,-0x63fffffe(%rcx)
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