------------[ cut here ]------------
WARNING: CPU: 1 PID: 5019 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:155
Modules linked in:
CPU: 1 PID: 5019 Comm: strace-static-x Not tainted 6.5.0-rc2-syzkaller-00046-gccff6d117d8d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:155
Code: ff e8 15 b4 c7 f8 0f 0b e9 08 fe ff ff e8 09 b4 c7 f8 0f 0b e9 40 fe ff ff e8 fd b3 c7 f8 0f 0b e9 96 fd ff ff e8 f1 b3 c7 f8 <0f> 0b e9 a0 fe ff ff e8 55 9f 1b f9 e9 79 fc ff ff 48 89 ef e8 88
RSP: 0018:ffffc900001e0da0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888028be3300 RCX: 0000000000000100
RDX: ffff888026811dc0 RSI: ffffffff88bebcbf RDI: 0000000000000005
RBP: 00000000fffff300 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffff300 R11: 0000000000000000 R12: ffff888028be3328
R13: ffff888028be3460 R14: 0000000000000000 R15: 0000000000000002
FS: 000000000084d3c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0e3fba33bc CR3: 000000002ce5b000 CR4: 0000000000350ee0
Call Trace:
__sk_destruct+0x4d/0x770 net/core/sock.c:2172
rcu_do_batch kernel/rcu/tree.c:2135 [inline]
rcu_core+0x7fb/0x1bb0 kernel/rcu/tree.c:2399
__do_softirq+0x218/0x965 kernel/softirq.c:553
invoke_softirq kernel/softirq.c:427 [inline]
__irq_exit_rcu kernel/softirq.c:632 [inline]
irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:task_cpu include/linux/sched.h:2250 [inline]
RIP: 0010:wait_task_inactive+0xb3/0x760 kernel/sched/core.c:2279
Code: 28 00 00 00 48 89 84 24 b0 00 00 00 31 c0 4c 89 d0 48 c7 44 24 78 00 00 00 00 48 c7 84 24 80 00 00 00 00 00 00 00 48 c1 e8 03 <4c> 01 c0 48 89 04 24 48 8b 04 24 0f b6 00 38 c1 7c 08 84 c0 0f 85
RSP: 0018:ffffc900039dfdf8 EFLAGS: 00000213
RAX: 1ffff11004e93b2a RBX: ffff88802749d940 RCX: 0000000000000007
RDX: 0000000000000004 RSI: 0000000000008008 RDI: ffff88802749d940
RBP: 1ffff9200073bfc6 R08: dffffc0000000000 R09: ffff88802749d958
R10: ffff88802749d954 R11: 0000000000000000 R12: ffff88802749d974
R13: ffff88802749d958 R14: 0000000000008008 R15: 0000000000000007
ptrace_check_attach+0x2c8/0x3e0 kernel/ptrace.c:273
__do_sys_ptrace kernel/ptrace.c:1300 [inline]
__se_sys_ptrace kernel/ptrace.c:1278 [inline]
__x64_sys_ptrace+0x154/0x2a0 kernel/ptrace.c:1278
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x4e987a
Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 54
RSP: 002b:00007ffdfc46e7e0 EFLAGS: 00000206 ORIG_RAX: 0000000000000065
RAX: ffffffffffffffda RBX: 000000000084ece0 RCX: 00000000004e987a
RDX: 0000000000000058 RSI: 000000000000139f RDI: 000000000000420e
RBP: 0000000000664740 R08: 000000000000420d R09: 0000000000000000
R10: 0000000000664740 R11: 0000000000000206 R12: 00007ffdfc46e92c
R13: 000000000000857f R14: 000000000084ece0 R15: 000000000063f160
----------------
Code disassembly (best guess):
0: 28 00 sub %al,(%rax)
2: 00 00 add %al,(%rax)
4: 48 89 84 24 b0 00 00 mov %rax,0xb0(%rsp)
b: 00
c: 31 c0 xor %eax,%eax
e: 4c 89 d0 mov %r10,%rax
11: 48 c7 44 24 78 00 00 movq $0x0,0x78(%rsp)
18: 00 00
1a: 48 c7 84 24 80 00 00 movq $0x0,0x80(%rsp)
21: 00 00 00 00 00
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 4c 01 c0 add %r8,%rax <-- trapping instruction
2d: 48 89 04 24 mov %rax,(%rsp)
31: 48 8b 04 24 mov (%rsp),%rax
35: 0f b6 00 movzbl (%rax),%eax
38: 38 c1 cmp %al,%cl
3a: 7c 08 jl 0x44
3c: 84 c0 test %al,%al
3e: 0f .byte 0xf
3f: 85 .byte 0x85