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 Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 15198 Comm: syz-executor7 Not tainted 4.9.124-g09eb2ba #31 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d6fe0000 task.stack: ffff8801aaa58000 RIP: 0010:[] [] loop_validate_file+0x20d/0x400 drivers/block/loop.c:656 RSP: 0018:ffff8801aaa5fae0 EFLAGS: 00010206 RAX: 0000000000000036 RBX: dffffc0000000000 RCX: ffffc900028ad000 RDX: 000000000000008e RSI: ffffffff825cb79d RDI: 00000000000001b0 RBP: ffff8801aaa5faf8 R08: ffff8801d6fe0910 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff1003adfc11d R12: 0000000000000000 R13: ffff8801d9c16780 R14: ffff8801d9c16780 R15: ffff8801d38572d8 FS: 00007f89d94db700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000721a08 CR3: 000000019c38a000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Stack: ffff8801d3857180 ffff8801da23fa00 0000000000000004 ffff8801aaa5fb80 ffffffff825d0f1d ffff8801aaa5fd38 ffffffff8153ead9 0000000000930000 ffff8801d3857198 ffff8801aaa5fb80 0000004c0000000b 1ffff1003554bf6c Call Trace: [] loop_change_fd drivers/block/loop.c:702 [inline] [] lo_ioctl+0x3ed/0x1690 drivers/block/loop.c:1359 [] __blkdev_driver_ioctl block/ioctl.c:294 [inline] [] blkdev_ioctl+0x7b6/0x1a70 block/ioctl.c:590 [] block_ioctl+0xde/0x120 fs/block_dev.c:1688 [] vfs_ioctl fs/ioctl.c:43 [inline] [] file_ioctl fs/ioctl.c:493 [inline] [] do_vfs_ioctl+0x1ac/0x11a0 fs/ioctl.c:677 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: 00 00 00 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 f7 01 00 00 4d 8b a4 24 f0 00 00 00 49 8d bc 24 b0 01 00 00 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 cc 01 00 00 4d 8b a4 24 b0 01 00 00 4c 89 e0 RIP [] loop_validate_file+0x20d/0x400 drivers/block/loop.c:656 RSP ---[ end trace f7521d49761babcc ]---