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: 1 PID: 4729 Comm: syz-executor1 Not tainted 4.14.0+ #96 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801ccece280 task.stack: ffff8801cba50000 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:ffff8801cba57058 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81bde88c RDX: 00000000000000c0 RSI: 0000000000000000 RDI: 0000000000000600 RBP: ffff8801cba57088 R08: 1ffff1003974adb0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88019dbe12c0 R13: 0000000000000000 R14: ffff8801d7c89200 R15: ffff8801d7c89558 FS: 0000000000000000(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f1ddf34ce38 CR3: 00000001cd4ea000 CR4: 00000000001426e0 DR0: 0000000020000000 DR1: 0000000020000000 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:865 do_group_exit+0x149/0x400 kernel/exit.c:968 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 arch/x86/entry/common.c:264 [inline] do_syscall_32_irqs_on arch/x86/entry/common.c:333 [inline] do_fast_syscall_32+0xbfd/0xf9d arch/x86/entry/common.c:389 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:125 RIP: 0023:0xf7f7fc79 RSP: 002b:00000000f777b10c EFLAGS: 00000296 ORIG_RAX: 00000000000000f0 RAX: fffffffffffffe00 RBX: 000000000816803c RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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: ffff8801cba57058 RIP: bdev_logical_block_size include/linux/blkdev.h:1432 [inline] RSP: ffff8801cba57058 RIP: bd_set_size+0x5f/0x330 fs/block_dev.c:1383 RSP: ffff8801cba57058 ---[ end trace bd0330484b674d5a ]---