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: 13882 Comm: syz-executor3 Not tainted 4.9.122-g54068d6 #26 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88019cbb3000 task.stack: ffff8801bf608000 RIP: 0010:[] [] loop_validate_file+0x20d/0x400 drivers/block/loop.c:656 RSP: 0018:ffff8801bf60fae0 EFLAGS: 00010206 RAX: 0000000000000036 RBX: dffffc0000000000 RCX: ffffc90001a8e000 RDX: 00000000000028bd RSI: ffffffff825ca8fd RDI: 00000000000001b0 RBP: ffff8801bf60faf8 R08: ffff88019cbb3910 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff1003397671d R12: 0000000000000000 R13: ffff8801d9c178c0 R14: ffff8801d9c178c0 R15: ffff8801d395c158 FS: 00007f3994eab700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e3d944df8 CR3: 00000001d5086000 CR4: 00000000001606f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Stack: ffff8801d395c000 ffff8801d314aa00 0000000000000004 ffff8801bf60fb80 ffffffff825d007d ffffffff8153e2f9 0000004000000009 0000000000930000 ffff8801d395c018 ffff8801bf60fb80 0000004c0000000b 1ffff10037ec1f6c 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 3d1e0dc6131b8694 ]---