list_add double add: new=ffff888092cd80e0, prev=ffffffff88024040, next=ffff888092cd80e0. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! invalid opcode: 0000 [#1] PREEMPT SMP KASAN kobject: 'loop3' (ffff8880a4a4a920): kobject_uevent_env Modules linked in: CPU: 0 PID: 6914 Comm: syz-executor.3 Not tainted 4.14.151 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808aac2380 task.stack: ffff88808aac8000 RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 kobject: 'loop3' (ffff8880a4a4a920): fill_kobj_path: path = '/devices/virtual/block/loop3' RSP: 0018:ffff88808aacfbf0 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff888092cd8080 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff866d1160 RDI: ffffed1011559f74 RBP: ffff88808aacfc08 R08: 0000000000000058 R09: 0000000000000002 R10: 0000000000000000 R11: ffff88808aac2380 R12: ffff888092cd80e0 R13: ffff888092cd80e0 R14: ffff888092cd80e0 R15: ffff88806522a080 FS: 0000000000ec6940(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000710158 CR3: 0000000082a2f000 CR4: 00000000001426f0 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+0x3f/0x100 net/core/net_namespace.c:530 kobject: 'kvm' (ffff888219f9d650): kobject_uevent_env put_net include/net/net_namespace.h:219 [inline] __sk_destruct+0x462/0x580 net/core/sock.c:1580 sk_destruct+0xa4/0xd0 net/core/sock.c:1596 __sk_free+0x54/0x230 net/core/sock.c:1604 sk_free+0x35/0x40 net/core/sock.c:1615 sock_put include/net/sock.h:1653 [inline] tcp_close+0xa20/0xfb0 net/ipv4/tcp.c:2304 inet_release+0xec/0x1c0 net/ipv4/af_inet.c:425 __sock_release+0xce/0x2b0 net/socket.c:602 kobject: 'kvm' (ffff888219f9d650): fill_kobj_path: path = '/devices/virtual/misc/kvm' sock_close+0x1b/0x30 net/socket.c:1139 __fput+0x275/0x7a0 fs/file_table.c:210 ____fput+0x16/0x20 fs/file_table.c:244 task_work_run+0x114/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1da/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+0x4bc/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x413ac0 RSP: 002b:00007ffe8ed091a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000413ac0 RDX: 00000000000000e0 RSI: 00007ffe8ed09270 RDI: 0000000000000003 RBP: 00007ffe8ed091c0 R08: 00007ffe8ed091bc R09: 000000000000000a R10: 00007ffe8ed091c0 R11: 0000000000000246 R12: 0000000000000003 R13: 00000000007114e0 R14: 0000000000710de8 R15: 0000000000001380 Code: e9 56 ff ff ff 4c 89 e1 48 c7 c7 a0 33 9d 86 e8 df c4 72 fe 0f 0b 48 89 f2 4c 89 e1 4c 89 ee 48 c7 c7 e0 34 9d 86 e8 c8 c4 72 fe <0f> 0b 48 89 f1 48 c7 c7 60 34 9d 86 4c 89 e6 e8 b4 c4 72 fe 0f RIP: __list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 RSP: ffff88808aacfbf0 ---[ end trace ddeb15993de05877 ]---