RAX: ffffffffffffffda RBX: cccccccccccccccd RCX: 000000000040fc61 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fd16bf06850 RBP: 000000000072bea0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000293 R12: 0000000000000014 R13: 0000000000000744 R14: 00000000006fef00 R15: 0000000000000033 WARNING: CPU: 0 PID: 30537 at block/genhd.c:697 __device_add_disk+0x104a/0x1340 block/genhd.c:697 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 30537 Comm: syz-executor0 Not tainted 4.17.0-rc6+ #68 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+0x1b9/0x294 lib/dump_stack.c:113 panic+0x22f/0x4de kernel/panic.c:184 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536 report_bug+0x252/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992 RIP: 0010:__device_add_disk+0x104a/0x1340 block/genhd.c:697 RSP: 0018:ffff8801aa877128 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8801b55cc400 RCX: ffffc90001eb8000 RDX: 0000000000040000 RSI: ffffffff83439e2a RDI: 0000000000000005 RBP: ffff8801aa8772f8 R08: ffff8801b1dea2c0 R09: ffffed003b5c46d2 R10: ffffed003b5c46d2 R11: ffff8801dae23693 R12: 00000000fffffff4 R13: ffff8801aa8772d0 R14: ffff8801b55cc960 R15: ffff8801b55cc404 device_add_disk+0x22/0x30 block/genhd.c:717 add_disk include/linux/genhd.h:399 [inline] loop_add+0x70b/0x9c0 drivers/block/loop.c:1896 loop_probe+0x185/0x1c0 drivers/block/loop.c:1968 kobj_lookup+0x269/0x460 drivers/base/map.c:124 get_gendisk+0x4c/0x380 block/genhd.c:825 bdev_get_gendisk fs/block_dev.c:1063 [inline] __blkdev_get+0x45f/0x13a0 fs/block_dev.c:1455 blkdev_get+0xb9/0xb30 fs/block_dev.c:1611 blkdev_open+0x1fb/0x280 fs/block_dev.c:1769 do_dentry_open+0x7ef/0xf10 fs/open.c:784 vfs_open+0x139/0x230 fs/open.c:906 do_last fs/namei.c:3365 [inline] path_openat+0x1676/0x4e20 fs/namei.c:3501 do_filp_open+0x249/0x350 fs/namei.c:3535 do_sys_open+0x56f/0x740 fs/open.c:1093 __do_sys_open fs/open.c:1111 [inline] __se_sys_open fs/open.c:1106 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1106 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x40fc61 RSP: 002b:00007fd16bf067a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: cccccccccccccccd RCX: 000000000040fc61 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fd16bf06850 RBP: 000000000072bea0 R08: 000000000000000f R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000293 R12: 0000000000000014 R13: 0000000000000744 R14: 00000000006fef00 R15: 0000000000000033 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..