------------[ cut here ]------------ WARNING: CPU: 0 PID: 13753 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154 Modules linked in: CPU: 0 PID: 13753 Comm: syz-executor.1 Not tainted 6.2.0-syzkaller-13277-g2eb29d59ddf0 #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 e5 cc da f8 0f 0b e9 07 fe ff ff e8 d9 cc da f8 0f 0b e9 3f fe ff ff e8 cd cc da f8 0f 0b e9 95 fd ff ff e8 c1 cc da f8 <0f> 0b e9 9f fe ff ff e8 f5 5c 2b f9 e9 7a fc ff ff 4c 89 e7 e8 28 RSP: 0018:ffffc90000007c28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100 RDX: ffff888026a58080 RSI: ffffffff88a94e2f RDI: 0000000000000005 RBP: ffff888024072040 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000ffff9000 R11: 000000000000002c R12: ffff888024072068 R13: ffff8880240722b4 R14: ffff8880240720c0 R15: 1ffff92000000fa6 FS: 00007fef445dd700(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200d6030 CR3: 0000000070f7a000 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+0x1da/0x800 kernel/time/timer.c:1700 expire_timers+0x2c6/0x5e0 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+0x2e3/0xae3 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 26 f6 4a f7 48 89 ef e8 5e 67 4b f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 2f 3c 3d f7 65 8b 05 40 42 e9 75 85 c0 74 0a 5b 5d c3 e8 dc 38 RSP: 0018:ffffc900056ef778 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff22a2fd6 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888024a2e6c0 R08: 0000000000000001 R09: ffffffff914d3c37 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000010 R14: 0000000000000001 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] __wake_up_common_lock+0xe2/0x140 kernel/sched/wait.c:140 __unix_dgram_recvmsg+0x2d1/0xb90 net/unix/af_unix.c:2473 unix_dgram_recvmsg+0xc4/0xf0 net/unix/af_unix.c:2543 sock_recvmsg_nosec net/socket.c:1015 [inline] ____sys_recvmsg+0x49c/0x5a0 net/socket.c:2721 ___sys_recvmsg+0xf2/0x180 net/socket.c:2765 do_recvmmsg+0x25e/0x6e0 net/socket.c:2859 __sys_recvmmsg net/socket.c:2938 [inline] __do_sys_recvmmsg net/socket.c:2961 [inline] __se_sys_recvmmsg net/socket.c:2954 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2954 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:0x7fef45a8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fef445dd168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fef45bac050 RCX: 00007fef45a8c0f9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007fef45ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff11daf47f R14: 00007fef445dd300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 74 24 je 0x26 2: 10 e8 adc %ch,%al 4: 26 f6 4a f7 48 testb $0x48,%es:-0x9(%rdx) 9: 89 ef mov %ebp,%edi b: e8 5e 67 4b f7 callq 0xf74b676e 10: 81 e3 00 02 00 00 and $0x200,%ebx 16: 75 25 jne 0x3d 18: 9c pushfq 19: 58 pop %rax 1a: f6 c4 02 test $0x2,%ah 1d: 75 2d jne 0x4c 1f: 48 85 db test %rbx,%rbx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 2f 3c 3d f7 callq 0xf73d3c5e <-- trapping instruction 2f: 65 8b 05 40 42 e9 75 mov %gs:0x75e94240(%rip),%eax # 0x75e94276 36: 85 c0 test %eax,%eax 38: 74 0a je 0x44 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: c3 retq 3d: e8 .byte 0xe8 3e: dc 38 fdivrl (%rax)