------------[ cut here ]------------ WARNING: CPU: 1 PID: 13995 at drivers/md/md.c:7593 md_ioctl+0x35a3/0x4d00 drivers/md/md.c:7593 Modules linked in: CPU: 0 PID: 13995 Comm: syz-executor.3 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:md_ioctl+0x35a3/0x4d00 drivers/md/md.c:7593 Code: fc 30 09 0c 40 0f 84 47 02 00 00 41 81 fc 21 09 14 40 0f 85 f6 15 00 00 4c 8d ac 24 90 00 00 00 e9 ac db ff ff e8 9d 49 4c fb <0f> 0b e9 90 d8 ff ff 44 89 44 24 18 e8 8c 49 4c fb 31 ff 89 de e8 RSP: 0018:ffffc900038afc18 EFLAGS: 00010216 RAX: 00000000000086c6 RBX: ffff88805ffc01c8 RCX: ffffc9000efa5000 RDX: 0000000000040000 RSI: ffffffff8623bad3 RDI: 0000000000000007 RBP: ffff88805ffc0000 R08: 0000000000000000 R09: ffff88805ffc002f R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000932 R13: ffff888140809380 R14: ffff88805ffc0028 R15: 0000000000000932 FS: 00007fd0ac3f6700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000513830 CR3: 0000000018a3c000 CR4: 0000000000350ef0 Call Trace: __blkdev_driver_ioctl block/ioctl.c:228 [inline] blkdev_ioctl+0x28b/0x700 block/ioctl.c:623 block_ioctl+0xf9/0x140 fs/block_dev.c:1869 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:0x45e159 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:00007fd0ac3f5c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e159 RDX: 0000000000000000 RSI: 0000000000000932 RDI: 0000000000000004 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffc1cc0d5ff R14: 00007fd0ac3f69c0 R15: 000000000119bf8c