------------[ cut here ]------------
sk->sk_forward_alloc
WARNING: net/ipv4/af_inet.c:157 at inet_sock_destruct+0x653/0x800 net/ipv4/af_inet.c:157, CPU#1: syz.3.7528/29617
Modules linked in:
CPU: 1 UID: 0 PID: 29617 Comm: syz.3.7528 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:inet_sock_destruct+0x653/0x800 net/ipv4/af_inet.c:157
Code: c9 4e ff e9 06 fd ff ff e8 2a af 01 f8 90 0f 0b 90 e9 35 fe ff ff e8 1c af 01 f8 90 0f 0b 90 e9 c5 fe ff ff e8 0e af 01 f8 90 <0f> 0b 90 e9 04 ff ff ff e8 00 af 01 f8 90 0f 0b 90 e9 65 fe ff ff
RSP: 0018:ffffc900006a0d98 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88803d7a5500 RCX: ffffffff8a06e8b7
RDX: ffff88802b4a8000 RSI: ffffffff8a06e9b2 RDI: ffff88802b4a8000
RBP: 0000000000000090 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000090 R11: 0000000000000000 R12: ffff88803d7a5500
R13: ffff88803d7a5590 R14: ffffffff81ee5bad R15: 0000000000000001
FS: 000055556b616500(0000) GS:ffff8880d6452000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000200 CR3: 00000000593e8000 CR4: 0000000000352ef0
Call Trace:
__sk_destruct+0x85/0xbb0 net/core/sock.c:2350
rcu_do_batch kernel/rcu/tree.c:2617 [inline]
rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2869
handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:179 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 76 a1 53 f6 48 89 df e8 5e f1 53 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 f5 27 44 f6 65 8b 05 3e be 7b 08 85 c0 74 16 5b
RSP: 0018:ffffc900054ffb60 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffff888053248a38 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8de6d3c0 RDI: ffffffff8c1ae120
RBP: 0000000000000206 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff888053248000
R13: ffff888053248a38 R14: ffff88806a53bf80 R15: ffff888053248a37
class_raw_spinlock_irqsave_destructor include/linux/spinlock.h:570 [inline]
try_to_wake_up+0xcf1/0x1a80 kernel/sched/core.c:4130
wake_up_process kernel/sched/core.c:4374 [inline]
wake_up_q+0xa1/0x130 kernel/sched/core.c:1100
futex_wake+0x460/0x530 kernel/futex/waitwake.c:198
do_futex+0x32b/0x350 kernel/futex/syscalls.c:135
__do_sys_futex kernel/futex/syscalls.c:207 [inline]
__se_sys_futex kernel/futex/syscalls.c:188 [inline]
__x64_sys_futex+0x34f/0x4d0 kernel/futex/syscalls.c:188
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f36f139bf79
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcf98fd878 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f36f139bf79
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f36f1615fa8
RBP: 000000000000009f R08: 0000000000000001 R09: 0000000000000000
R10: 00007f36f1615fa0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f36f1615fac R14: 00007f36f1615fa8 R15: 00007f36f1615fa0
----------------
Code disassembly (best guess):
0: f5 cmc
1: 53 push %rbx
2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi
7: 48 89 fb mov %rdi,%rbx
a: 48 83 c7 18 add $0x18,%rdi
e: e8 76 a1 53 f6 call 0xf653a189
13: 48 89 df mov %rbx,%rdi
16: e8 5e f1 53 f6 call 0xf653f179
1b: f7 c5 00 02 00 00 test $0x200,%ebp
21: 75 23 jne 0x46
23: 9c pushf
24: 58 pop %rax
25: f6 c4 02 test $0x2,%ah
28: 75 37 jne 0x61
* 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction
2f: e8 f5 27 44 f6 call 0xf6442829
34: 65 8b 05 3e be 7b 08 mov %gs:0x87bbe3e(%rip),%eax # 0x87bbe79
3b: 85 c0 test %eax,%eax
3d: 74 16 je 0x55
3f: 5b pop %rbx