------------[ 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-executor/13661 Modules linked in: CPU: 1 UID: 0 PID: 13661 Comm: syz-executor 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: fc 4e ff e9 06 fd ff ff e8 3a 5b 0b f8 90 0f 0b 90 e9 35 fe ff ff e8 2c 5b 0b f8 90 0f 0b 90 e9 c5 fe ff ff e8 1e 5b 0b f8 90 <0f> 0b 90 e9 04 ff ff ff e8 10 5b 0b f8 90 0f 0b 90 e9 65 fe ff ff RSP: 0018:ffffc900006a0d98 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888026dd7700 RCX: ffffffff89fbb767 RDX: ffff888035a04900 RSI: ffffffff89fbb862 RDI: ffff888035a04900 RBP: 0000000000000f70 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000f70 R11: 0000000000000000 R12: ffff888026dd7700 R13: ffff888026dd7790 R14: ffffffff81ed0bad R15: 0000000000000000 FS: 00005555584dc500(0000) GS:ffff8880d648b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa5a73e42f8 CR3: 0000000059595000 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+0x1ea/0x910 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:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0xd/0xc0 kernel/rcu/tree.c:752 Code: 81 e8 f7 ed 86 00 e9 49 ff ff ff 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 53 65 ff 05 c3 83 1d 12 6e e8 94 09 48 c7 c3 a8 8a 0a 94 89 c5 83 f8 07 0f 87 82 00 00 RSP: 0018:ffffc90006a6f9c0 EFLAGS: 00000283 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff906c5588 RBP: ffffffff906c5588 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90006a6fbf0 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x2c4/0x330 kernel/locking/lockdep.c:5831 __mutex_lock_common kernel/locking/mutex.c:614 [inline] __mutex_lock+0x1a2/0x1b90 kernel/locking/mutex.c:776 nf_sockopt_find.isra.0+0x2a/0x290 net/netfilter/nf_sockopt.c:67 nf_getsockopt+0x2d/0xe0 net/netfilter/nf_sockopt.c:113 ipv6_getsockopt+0x207/0x2a0 net/ipv6/ipv6_sockglue.c:1473 tcp_getsockopt+0xa1/0x110 net/ipv4/tcp.c:4893 do_sock_getsockopt+0x259/0x3d0 net/socket.c:2383 __sys_getsockopt+0x148/0x260 net/socket.c:2412 __do_sys_getsockopt net/socket.c:2419 [inline] __se_sys_getsockopt net/socket.c:2416 [inline] __x64_sys_getsockopt+0xbd/0x160 net/socket.c:2416 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:0x7fa5a719d76a Code: 48 83 ec 10 89 d2 48 63 ff 45 31 c9 6a 2a 45 31 c0 31 c9 e8 58 9a fb ff 48 83 c4 18 c3 0f 1f 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 e8 ff ff ff f7 RSP: 002b:00007ffdcb714eb8 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffdcb714f40 RCX: 00007fa5a719d76a RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffdcb714edc R09: 0000000000000000 R10: 00007ffdcb714f40 R11: 0000000000000212 R12: 00007fa5a73e77a0 R13: 00007ffdcb714edc R14: 0000000000000000 R15: 00007fa5a73e7e60 ---------------- Code disassembly (best guess): 0: 81 e8 f7 ed 86 00 sub $0x86edf7,%eax 6: e9 49 ff ff ff jmp 0xffffff54 b: 66 90 xchg %ax,%ax d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: f3 0f 1e fa endbr64 21: 55 push %rbp 22: 53 push %rbx 23: 65 ff 05 c3 83 1d 12 incl %gs:0x121d83c3(%rip) # 0x121d83ed * 2a: e8 6e e8 94 09 call 0x994e89d <-- trapping instruction 2f: 48 c7 c3 a8 8a 0a 94 mov $0xffffffff940a8aa8,%rbx 36: 89 c5 mov %eax,%ebp 38: 83 f8 07 cmp $0x7,%eax 3b: 0f .byte 0xf 3c: 87 .byte 0x87 3d: 82 (bad)