QAT: Invalid ioctl kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 14715 Comm: syz-executor6 Not tainted 4.14.0-mm1+ #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d64cc400 task.stack: ffff8801c8038000 RIP: 0010:bdev_get_queue include/linux/blkdev.h:994 [inline] RIP: 0010:bdev_logical_block_size include/linux/blkdev.h:1432 [inline] RIP: 0010:bd_set_size+0x5f/0x330 fs/block_dev.c:1383 RSP: 0018:ffff8801c803f118 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81be8bfc RDX: 00000000000000c0 RSI: 0000000000000000 RDI: 0000000000000600 RBP: ffff8801c803f148 R08: 1ffff10039007dc8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88018c28b180 R13: 0000000000000000 R14: ffff88019908e900 R15: ffff88019908ec58 FS: 00007fd9d7e3a700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff845c5718 CR3: 00000001c87db000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: loop_clr_fd+0x4fc/0xb50 drivers/block/loop.c:1053 lo_release+0xee/0x180 drivers/block/loop.c:1598 __blkdev_put+0x602/0x7c0 fs/block_dev.c:1770 blkdev_put+0x85/0x4f0 fs/block_dev.c:1835 blkdev_close+0x91/0xc0 fs/block_dev.c:1842 __fput+0x333/0x7f0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9bb/0x1ae0 kernel/exit.c:869 do_group_exit+0x149/0x400 kernel/exit.c:972 get_signal+0x73f/0x16c0 kernel/signal.c:2335 do_signal+0x94/0x1ee0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x214/0x310 arch/x86/entry/common.c:158 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x94/0x96 RIP: 0033:0x452879 RSP: 002b:00007fd9d7e39ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000007581b8 RCX: 0000000000452879 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007581b8 RBP: 00000000007581b8 R08: 000000000000037e R09: 0000000000758190 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007fd9d7e3a9c0 R15: 000000000000001e Code: 03 80 3c 02 00 0f 85 c6 02 00 00 49 8b 9c 24 f0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 00 06 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 76 02 00 00 4d 8d 74 24 08 48 b8 00 00 00 00 RIP: bdev_get_queue include/linux/blkdev.h:994 [inline] RSP: ffff8801c803f118 RIP: bdev_logical_block_size include/linux/blkdev.h:1432 [inline] RSP: ffff8801c803f118 RIP: bd_set_size+0x5f/0x330 fs/block_dev.c:1383 RSP: ffff8801c803f118 ---[ end trace 0785d7c09c8181d9 ]---