kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN NOPTI Modules linked in: CPU: 0 PID: 1845 Comm: syz-executor0 Not tainted 4.14.74+ #17 task: ffff8801cd705e00 task.stack: ffff88019f3d8000 RIP: 0010:bdev_get_queue include/linux/blkdev.h:1015 [inline] RIP: 0010:bdev_logical_block_size include/linux/blkdev.h:1451 [inline] RIP: 0010:bd_set_size+0x58/0x320 fs/block_dev.c:1396 RSP: 0018:ffff88019f3dfaa0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff10039ae0cc5 RDX: 00000000000000a7 RSI: 0000000000000000 RDI: 0000000000000538 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801ca8278c0 R13: ffff8801ca8278c0 R14: ffff8801c4e0e548 R15: ffff8801c4e0e728 FS: 000000000171b940(0000) GS:ffff8801d7600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc73de11f0 CR3: 000000019f3fa005 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: loop_clr_fd+0x465/0xac0 drivers/block/loop.c:1057 lo_ioctl+0x6e6/0x17d0 drivers/block/loop.c:1383 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x57d/0x18c0 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1873 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1a0/0x1030 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7e/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4573e7 RSP: 002b:00007ffc7f27b008 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004573e7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 000000000000000c R13: 00000000000403d7 R14: 0000000000000148 R15: 0000000000000000 Code: 03 80 3c 02 00 0f 85 a4 02 00 00 49 8b 9c 24 e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 38 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 70 02 00 00 4d 8d 6c 24 08 48 8b 9b 38 05 00 RIP: bdev_get_queue include/linux/blkdev.h:1015 [inline] RSP: ffff88019f3dfaa0 RIP: bdev_logical_block_size include/linux/blkdev.h:1451 [inline] RSP: ffff88019f3dfaa0 RIP: bd_set_size+0x58/0x320 fs/block_dev.c:1396 RSP: ffff88019f3dfaa0 ---[ end trace 33b3ade35269a182 ]---