WARNING: CPU: 1 PID: 8748 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 1 PID: 8748 Comm: syz-executor.3 Not tainted 6.3.0-rc6-syzkaller-00138-g44149752e998 #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 b5 70 ec f8 0f 0b e9 07 fe ff ff e8 a9 70 ec f8 0f 0b e9 3f fe ff ff e8 9d 70 ec f8 0f 0b e9 95 fd ff ff e8 91 70 ec f8 <0f> 0b e9 9f fe ff ff e8 95 95 3c f9 e9 7a fc ff ff 4c 89 e7 e8 c8
RSP: 0018:ffffc90000738c48 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100
RDX: ffff88802695a0c0 RSI: ffffffff88959b7f RDI: 0000000000000005
RBP: ffff888026758e40 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffff9000 R11: 0000000000000004 R12: ffff888026758e68
R13: ffff8880267590b4 R14: ffff888026758ec0 R15: 0000000000000001
FS: 00005555568b4400(0000) GS:ffff88802c700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555568bd848 CR3: 0000000072237000 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:kmem_cache_free+0x135/0x370 mm/slab.c:3603
Code: f2 4c 89 ee 4c 89 e7 e8 19 fb ff ff 48 85 db 0f 85 1f 01 00 00 9c 58 f6 c4 02 0f 85 2e 01 00 00 48 85 db 74 01 fb 48 83 c4 20 <5b> 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b 05 95 c5 31 7e 83 f8 07 0f
RSP: 0018:ffffc9000699fe18 EFLAGS: 00000286
RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1ceccd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffea0000a8fa80 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff1ced2e2 R11: 0000000000094001 R12: ffff888040076000
R13: ffff88802a3ea380 R14: ffffffff81e53fb2 R15: 0000000000000000
putname fs/namei.c:272 [inline]
putname+0x102/0x140 fs/namei.c:258
user_path_at_empty+0x51/0x60 fs/namei.c:2879
user_path_at include/linux/namei.h:57 [inline]
ksys_umount fs/namespace.c:1824 [inline]
__do_sys_umount fs/namespace.c:1832 [inline]
__se_sys_umount fs/namespace.c:1830 [inline]
__x64_sys_umount+0xfc/0x190 fs/namespace.c:1830
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:0x7f7a4168d5d7
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 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:00007ffd81de5f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7a4168d5d7
RDX: 00007ffd81de605b RSI: 000000000000000a RDI: 00007ffd81de6050
RBP: 00007ffd81de6050 R08: 00000000ffffffff R09: 00007ffd81de5e20
R10: 00005555568b5873 R11: 0000000000000246 R12: 00007f7a416e6cdc
R13: 00007ffd81de7110 R14: 00005555568b5810 R15: 00007ffd81de7150
----------------
Code disassembly (best guess):
0: f2 4c 89 ee repnz mov %r13,%rsi
4: 4c 89 e7 mov %r12,%rdi
7: e8 19 fb ff ff callq 0xfffffb25
c: 48 85 db test %rbx,%rbx
f: 0f 85 1f 01 00 00 jne 0x134
15: 9c pushfq
16: 58 pop %rax
17: f6 c4 02 test $0x2,%ah
1a: 0f 85 2e 01 00 00 jne 0x14e
20: 48 85 db test %rbx,%rbx
23: 74 01 je 0x26
25: fb sti
26: 48 83 c4 20 add $0x20,%rsp
* 2a: 5b pop %rbx <-- trapping instruction
2b: 5d pop %rbp
2c: 41 5c pop %r12
2e: 41 5d pop %r13
30: 41 5e pop %r14
32: 41 5f pop %r15
34: c3 retq
35: 65 8b 05 95 c5 31 7e mov %gs:0x7e31c595(%rip),%eax # 0x7e31c5d1
3c: 83 f8 07 cmp $0x7,%eax
3f: 0f .byte 0xf