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: 23078 Comm: syz-executor3 Not tainted 4.15.0-rc8+ #263 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bdev_get_queue include/linux/blkdev.h:1011 [inline] RIP: 0010:bdev_logical_block_size include/linux/blkdev.h:1449 [inline] RIP: 0010:bd_set_size+0x5f/0x330 fs/block_dev.c:1383 RSP: 0018:ffff8801c24d7108 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81bfbbdc RDX: 00000000000000aa RSI: 0000000000000000 RDI: 0000000000000550 RBP: ffff8801c24d7138 R08: 1ffff1003849adc6 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801bfce48c0 R13: 0000000000000000 R14: ffff8801cfd1c900 R15: ffff8801cfd1cc28 FS: 00007f4003b77700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f089cdf7000 CR3: 0000000006822002 CR4: 00000000001606e0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: loop_clr_fd+0x4fc/0xb50 drivers/block/loop.c:1053 __lo_release drivers/block/loop.c:1597 [inline] lo_release+0x101/0x190 drivers/block/loop.c:1615 __blkdev_put+0x62d/0x7f0 fs/block_dev.c:1770 blkdev_put+0x85/0x4f0 fs/block_dev.c:1835 blkdev_close+0x8b/0xb0 fs/block_dev.c:1842 __fput+0x327/0x7e0 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/0x1ad0 kernel/exit.c:865 do_group_exit+0x149/0x400 kernel/exit.c:968 get_signal+0x73f/0x16c0 kernel/signal.c:2335 do_signal+0x90/0x1eb0 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+0x9e/0xa0 RIP: 0033:0x452df9 RSP: 002b:00007f4003b76ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000071bf80 RCX: 0000000000452df9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000071bf80 RBP: 000000000071bf80 R08: 00000000000000b2 R09: 000000000071bf58 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000a2f7ef R14: 00007f4003b779c0 R15: 000000000000000b Code: 03 80 3c 02 00 0f 85 c6 02 00 00 49 8b 9c 24 e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 50 05 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:1011 [inline] RSP: ffff8801c24d7108 RIP: bdev_logical_block_size include/linux/blkdev.h:1449 [inline] RSP: ffff8801c24d7108 RIP: bd_set_size+0x5f/0x330 fs/block_dev.c:1383 RSP: ffff8801c24d7108 ---[ end trace 131cd01bb074b768 ]---