WARNING: CPU: 1 PID: 31527 at block/bdev.c:794 blkdev_get_by_dev.part.0+0x8ea/0xb50 block/bdev.c:794 Modules linked in: CPU: 1 PID: 31527 Comm: syz-executor.0 Not tainted 6.4.0-rc6-next-20230616-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:blkdev_get_by_dev.part.0+0x8ea/0xb50 block/bdev.c:794 Code: 44 24 08 e8 a8 8b 7c fd 48 85 ed 4c 63 6c 24 08 0f 85 5f fe ff ff e9 ca fe ff ff e8 90 6b e3 fd e9 fe f8 ff ff e8 f6 19 90 fd <0f> 0b 49 c7 c5 fb ff ff ff e9 c2 fe ff ff e8 e3 19 90 fd 48 8b 44 RSP: 0018:ffffc9001648fc98 EFLAGS: 00010216 RAX: 00000000000006f1 RBX: ffff888148c88000 RCX: ffffc90003b71000 RDX: 0000000000040000 RSI: ffffffff83f4482a RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000001 R12: ffff88801f35c000 R13: 0000000000000007 R14: 0000000000000000 R15: 0000000000000004 FS: 00007f37eb76c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3db1387498 CR3: 00000000277ed000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blkdev_get_by_dev+0x79/0x80 block/bdev.c:845 disk_scan_partitions+0x1e2/0x300 block/genhd.c:369 blkdev_common_ioctl+0x5b8/0x1a40 block/ioctl.c:531 blkdev_ioctl+0x24f/0x760 block/ioctl.c:600 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x19d/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f37eaa8c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f37eb76c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f37eababf80 RCX: 00007f37eaa8c389 RDX: 0000000000000000 RSI: 000000000000125f RDI: 0000000000000003 RBP: 00007f37eaad7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd4f9522f R14: 00007f37eb76c300 R15: 0000000000022000