list_add double add: new=ffff8880953301e0, prev=ffffffff89cdc880, next=ffff8880953301e0. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 8006 Comm: syz-executor.0 Not tainted 4.14.274-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880846f0080 task.stack: ffff8880846f8000 RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 RSP: 0018:ffff8880846ffc88 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff888095330180 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878bc440 RDI: ffffed10108dff87 RBP: ffff8880953301e0 R08: 0000000000000058 R09: 0000000000000002 R10: 0000000000000000 R11: ffff8880846f0080 R12: ffff8880953301e0 R13: ffff8880953301e0 R14: ffff88808f689158 R15: ffffffff8c9b6960 FS: 0000555555822400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555979708 CR3: 0000000098690000 CR4: 00000000003406f0 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:533 put_net include/net/net_namespace.h:219 [inline] __sk_destruct+0x5f5/0x760 net/core/sock.c:1599 sk_destruct net/core/sock.c:1615 [inline] __sk_free+0xd9/0x2d0 net/core/sock.c:1623 sk_free+0x2b/0x40 net/core/sock.c:1634 sock_put include/net/sock.h:1664 [inline] tcp_close+0x98b/0xed0 net/ipv4/tcp.c:2308 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/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 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+0x46/0xbb RIP: 0033:0x7f95c3869c8b RSP: 002b:00007ffe3cdab430 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007ffe3cdab4d0 RCX: 00007f95c3869c8b RDX: 0000000000000000 RSI: 00000068794128c8 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: ff00000000000000 R10: 0000000000000010 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000001f9c29 R14: 0000000000000002 R15: 00007ffe3cdab510 Code: e9 58 bc 0e fc 4c 89 e1 48 c7 c7 80 fd cc 87 e8 bd f2 f7 ff 0f 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 c0 fe cc 87 e8 a6 f2 f7 ff <0f> 0b 48 89 f1 48 c7 c7 40 fe cc 87 4c 89 e6 e8 92 f2 f7 ff 0f RIP: __list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 RSP: ffff8880846ffc88 ---[ end trace 57fade0d3fc9f28e ]---