WARNING: CPU: 1 PID: 22161 at drivers/md/md.c:7593 md_ioctl+0x35a3/0x4d00 drivers/md/md.c:7593 Modules linked in: CPU: 1 PID: 22161 Comm: syz-executor.3 Not tainted 5.10.0-rc5-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 dd 51 4c fb <0f> 0b e9 90 d8 ff ff 44 89 44 24 18 e8 cc 51 4c fb 31 ff 89 de e8 RSP: 0018:ffffc900095afc18 EFLAGS: 00010206 RAX: 0000000000008670 RBX: ffff88801b4221c8 RCX: ffffc9001212c000 RDX: 0000000000040000 RSI: ffffffff8623b2b3 RDI: 0000000000000007 RBP: ffff88801b422000 R08: 0000000000000000 R09: ffff88801b42202f R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000932 R13: ffff88805a463a80 R14: ffff88801b422028 R15: 0000000000000932 FS: 00007f17b76a1700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2bd22000 CR3: 000000005ba71000 CR4: 0000000000350ee0 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:0x45deb9 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:00007f17b76a0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000010d00 RCX: 000000000045deb9 RDX: 0000000000000000 RSI: 0000000000000932 RDI: 0000000000000004 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff79f0bb0f R14: 00007f17b76a19c0 R15: 000000000118bf2c