RBP: 00007fd4fa839ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000034 R13: 00000000016afb5f R14: 00007fd4fa83a9c0 R15: 000000000119bf8c ------------[ cut here ]------------ WARNING: CPU: 0 PID: 18549 at block/genhd.c:745 __device_add_disk+0xfdc/0x12b0 block/genhd.c:745 Modules linked in: CPU: 0 PID: 18549 Comm: syz-executor.3 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__device_add_disk+0xfdc/0x12b0 block/genhd.c:745 Code: f1 ff ff e8 76 b9 c6 fd 0f 0b e9 12 f7 ff ff 48 89 7c 24 20 e8 65 b9 c6 fd 0f 0b 48 8b 7c 24 20 e9 d6 f4 ff ff e8 54 b9 c6 fd <0f> 0b e9 f7 fb ff ff 4c 89 ef e8 65 4d 09 fe e9 7d f1 ff ff 48 8b RSP: 0018:ffffc900015bfcf0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000f2dc000 RDX: 0000000000040000 RSI: ffffffff83abbc4c RDI: 0000000000000003 RBP: ffff888012a64800 R08: 0000000000000000 R09: ffffffff8b48b153 R10: ffffffff83abb841 R11: 0000000000000000 R12: 00000000fffffff4 R13: ffff888012a64858 R14: ffff888070f82ed0 R15: ffff88806f706000 FS: 00007fd4fa83a700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbe493c000 CR3: 000000001bee7000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_disk include/linux/genhd.h:241 [inline] loop_add+0x5fb/0x880 drivers/block/loop.c:2163 loop_control_ioctl drivers/block/loop.c:2258 [inline] loop_control_ioctl+0x16c/0x470 drivers/block/loop.c:2240 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd4fa839c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: 00007fd4fa839ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000034 R13: 00000000016afb5f R14: 00007fd4fa83a9c0 R15: 000000000119bf8c