R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 000000000000074a R14: 00000000004c9d34 R15: 000000000000000a list_add double add: new=ffff888057240120, prev=ffffffff886d9800, next=ffff888057240120. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 7476 Comm: syz-executor.0 Not tainted 4.14.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888058f5a000 task.stack: ffff888058f80000 RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 RSP: 0018:ffff888058f87c70 EFLAGS: 00010086 RAX: 0000000000000058 RBX: ffff8880572400c0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff86ac0860 RDI: ffffed100b1f0f84 RBP: ffff888057240120 R08: 0000000000000058 R09: 0000000000000002 R10: ffff888058f5a8d0 R11: ffff888058f5a000 R12: ffff888057240120 R13: ffff888057240120 R14: ffff88804e69f588 R15: ffffffff8b03ebe0 FS: 0000000002216940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000071a158 CR3: 0000000058e4b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:60 [inline] list_add include/linux/list.h:79 [inline] __put_net+0x3a/0x100 net/core/net_namespace.c:530 put_net include/net/net_namespace.h:219 [inline] __sk_destruct+0x508/0x640 net/core/sock.c:1580 sk_destruct+0x97/0xc0 net/core/sock.c:1596 __sk_free+0x4c/0x220 net/core/sock.c:1604 sk_free+0x2b/0x40 net/core/sock.c:1615 sock_put include/net/sock.h:1658 [inline] tcp_close+0x9d5/0xf30 net/ipv4/tcp.c:2304 inet_release+0xdf/0x1b0 net/ipv4/af_inet.c:425 __sock_release+0xcd/0x2b0 net/socket.c:602 sock_close+0x15/0x20 net/socket.c:1139 __fput+0x25f/0x790 fs/file_table.c:210 task_work_run+0x113/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1d6/0x220 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x415ff0 RSP: 002b:00007ffea94fe798 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007ffea94fe8a0 RCX: 0000000000415ff0 RDX: 00000000000000e0 RSI: 00007ffea94fec80 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000006000 R09: 0000000000004000 R10: 00007ffea94fe8a0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea94fef20 R14: 0000000000047687 R15: 00007ffea94fef30 Code: e9 57 ff ff ff 4c 89 e1 48 c7 c7 c0 54 e4 86 e8 5d 0c 4b fe 0f 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 00 56 e4 86 e8 46 0c 4b fe <0f> 0b 48 89 f1 48 c7 c7 80 55 e4 86 4c 89 e6 e8 32 0c 4b fe 0f RIP: __list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 RSP: ffff888058f87c70 ---[ end trace 931648f111dfc02f ]---