------------[ cut here ]------------
WARNING: CPU: 1 PID: 5054 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 1 PID: 5054 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-13410-g341d3bda8cfa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Code: ff e8 95 0a e2 f8 0f 0b e9 07 fe ff ff e8 89 0a e2 f8 0f 0b e9 3f fe ff ff e8 7d 0a e2 f8 0f 0b e9 95 fd ff ff e8 71 0a e2 f8 <0f> 0b e9 9f fe ff ff e8 65 d2 34 f9 e9 7a fc ff ff 4c 89 e7 e8 98
RSP: 0018:ffffc900001e0c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffffe000 RCX: 0000000000000100
RDX: ffff88807d9f1dc0 RSI: ffffffff88a23a6f RDI: 0000000000000005
RBP: ffff888030b23100 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffe000 R11: 0000000000000001 R12: ffff888030b23128
R13: ffff888030b23374 R14: ffff888030b23180 R15: 0000000000000001
FS: 0000555556743400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002740 CR3: 000000004a97b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x4d/0x770 net/core/sock.c:2130
sk_destruct net/core/sock.c:2178 [inline]
__sk_free+0x175/0x460 net/core/sock.c:2189
sk_free+0x7c/0xa0 net/core/sock.c:2200
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:1106
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_acquire+0x1f5/0x520 kernel/locking/lockdep.c:5659
Code: 98 9c 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:ffffc90003f9f558 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920007f3ead RCX: a2e20ba4532091a2
RDX: 1ffff1100fb3e510 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff91527d07
R10: fffffbfff22a4fa0 R11: 0000000000000000 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8c799040 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
page_table_check_set.part.0+0x36/0x3c0 mm/page_table_check.c:109
page_table_check_set mm/page_table_check.c:195 [inline]
__page_table_check_pte_set+0x2ad/0x310 mm/page_table_check.c:195
page_table_check_pte_set include/linux/page_table_check.h:83 [inline]
set_pte_at arch/x86/include/asm/pgtable.h:1025 [inline]
copy_present_pte mm/memory.c:974 [inline]
copy_pte_range mm/memory.c:1064 [inline]
copy_pmd_range mm/memory.c:1150 [inline]
copy_pud_range mm/memory.c:1187 [inline]
copy_p4d_range mm/memory.c:1211 [inline]
copy_page_range+0x199f/0x3830 mm/memory.c:1309
dup_mmap+0x10bc/0x19d0 kernel/fork.c:760
dup_mm kernel/fork.c:1692 [inline]
copy_mm kernel/fork.c:1741 [inline]
copy_process+0x65ae/0x7600 kernel/fork.c:2507
kernel_clone+0xeb/0x890 kernel/fork.c:2918
__do_sys_clone+0xba/0x100 kernel/fork.c:3061
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:0x7f545ea89e9b
Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00
RSP: 002b:00007ffc0197ccd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f545ea89e9b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556743400
R10: 00005555567436d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc0197cdb0
----------------
Code disassembly (best guess):
0: 98 cwtl
1: 9c pushfq
2: 7e 83 jle 0xffffff87
4: f8 clc
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