list_add double add: new=ffff888067c000a0, prev=ffffffff884d7400, next=ffff888067c000a0. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 6369 Comm: syz-executor.0 Not tainted 4.14.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888096b8c340 task.stack: ffff888086310000 RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 RSP: 0018:ffff888086317c70 EFLAGS: 00010086 RAX: 0000000000000058 RBX: ffff888067c00040 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff868c0c40 RDI: ffffed1010c62f84 RBP: ffff888067c000a0 R08: 0000000000000058 R09: 0000000000000002 R10: ffff888096b8cc18 R11: ffff888096b8c340 R12: ffff888067c000a0 R13: ffff888067c000a0 R14: ffff888091c73588 R15: ffffffff8ae38fe0 FS: 000000000111c940(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000073e138 CR3: 00000000966b3000 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+0x3a/0x100 net/core/net_namespace.c:530 put_net include/net/net_namespace.h:219 [inline] __sk_destruct+0x507/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+0x9cb/0xf20 net/ipv4/tcp.c:2306 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+0x113/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 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 entry_SYSCALL_64_after_hwframe+0x46/0xbb CPU: 1 PID: 21305 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0 RIP: 0033:0x416700 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RSP: 002b:00007fffd744be78 EFLAGS: 00000246 Call Trace: ORIG_RAX: 0000000000000003 __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 RAX: 0000000000000000 RBX: 00007fffd744bf80 RCX: 0000000000416700 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x154 lib/fault-inject.c:149 RDX: 00000000000000e0 RSI: 00007fffd744c360 RDI: 0000000000000003 should_failslab+0xd6/0x130 mm/failslab.c:32 RBP: 0000000000000003 R08: 0000000000006000 R09: 0000000000004000 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc+0x28e/0x3c0 mm/slab.c:3550 R10: 00007fffd744bf80 R11: 0000000000000246 R12: 0000000000000000 __d_alloc+0x2a/0x9b0 fs/dcache.c:1623 R13: 00007fffd744c600 R14: 0000000000053a4f R15: 00007fffd744c610 d_alloc+0x46/0x240 fs/dcache.c:1710 Code: __rpc_lookup_create_exclusive+0xf8/0x110 net/sunrpc/rpc_pipe.c:653 e9 57 ff rpc_populate.constprop.0+0xc5/0x350 net/sunrpc/rpc_pipe.c:720 ff ff rpc_fill_super+0x31e/0x8e0 net/sunrpc/rpc_pipe.c:1405 4c 89 e1 48 c7 c7 mount_ns+0xdc/0x180 fs/super.c:1051 a0 mount_fs+0x92/0x2a0 fs/super.c:1237 4a vfs_kern_mount.part.0+0x5b/0x3c0 fs/namespace.c:1046 c4 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0x3c9/0x25e0 fs/namespace.c:2879 86 e8 7d 20 4b fe SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 0f 0b do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 48 entry_SYSCALL_64_after_hwframe+0x46/0xbb 89 RIP: 0033:0x45cba9 f2 RSP: 002b:00007f5edf1f7c78 EFLAGS: 00000246 4c ORIG_RAX: 00000000000000a5 89 RAX: ffffffffffffffda RBX: 00000000004f7780 RCX: 000000000045cba9 e1 RDX: 0000000020000180 RSI: 0000000020000140 RDI: 0000000000000000 48 RBP: 000000000078c0e0 R08: 0000000020000100 R09: 0000000000000000 89 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 ee R13: 0000000000000774 R14: 00000000004ca7e5 R15: 00007f5edf1f86d4 48 net/sunrpc/rpc_pipe.c: rpc_populate failed to populate directory / c7 c7 e0 4b c4 86 e8 66 20 4b fe <0f> 0b 48 89 f1 48 c7 c7 60 4b c4 86 4c 89 e6 e8 52 20 4b fe 0f RIP: __list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 RSP: ffff888086317c70 ---[ end trace cc33982c2a15856b ]---