RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffeae48c2af R14: 00007fc31a335300 R15: 0000000000022000 kobject_add_internal failed for 43:0 with -EEXIST, don't try to register things with the same name in the same directory. WARNING: CPU: 0 PID: 9970 at block/genhd.c:697 __device_add_disk+0xc3c/0xed0 block/genhd.c:709 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9970 Comm: syz-executor.2 Not tainted 4.18.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20d lib/dump_stack.c:113 panic+0x1c6/0x36b kernel/panic.c:184 __warn.cold.7+0x120/0x168 kernel/panic.c:536 report_bug+0x1a1/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992 RIP: 0010:__device_add_disk+0xc3c/0xed0 block/genhd.c:697 Code: fe 8b 95 30 ff ff ff e9 b9 f4 ff ff 4c 89 ff e8 ea f9 56 fe e9 d6 f4 ff ff e8 60 fa 56 fe e9 3e f7 ff ff 0f 0b e9 3f fc ff ff <0f> 0b e9 c9 fe ff ff 4c 89 e7 e8 45 fa 56 fe e9 de f4 ff ff e8 3b RSP: 0018:ffff880089a9f368 EFLAGS: 00010282 RAX: 00000000ffffffef RBX: 1ffff10011353e75 RCX: 1ffff10012ce843f RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000286 RBP: ffff880089a9f470 R08: ffff8800967421f8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800a22eb868 R13: ffff880089a9f448 R14: ffffffff8823a120 R15: ffff8800a22eb300 device_add_disk+0xe/0x10 block/genhd.c:717 add_disk include/linux/genhd.h:399 [inline] nbd_dev_add+0x652/0x820 drivers/block/nbd.c:1607 nbd_genl_connect+0x3b9/0x14e0 drivers/block/nbd.c:1699 genl_family_rcv_msg+0x599/0x1000 net/netlink/genetlink.c:601 genl_rcv_msg+0xa7/0x140 net/netlink/genetlink.c:626 netlink_rcv_skb+0x142/0x390 net/netlink/af_netlink.c:2455 genl_rcv+0x23/0x40 net/netlink/genetlink.c:637 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x443/0x660 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x667/0xc60 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:642 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:652 ___sys_sendmsg+0x647/0x950 net/socket.c:2126 __sys_sendmsg+0xd9/0x180 net/socket.c:2164 __do_sys_sendmsg net/socket.c:2173 [inline] __se_sys_sendmsg net/socket.c:2171 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2171 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc31a335188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffeae48c2af R14: 00007fc31a335300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..