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: 13141 Comm: syz-executor0 Not tainted 4.9.103-g0cecdf8 #35 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801bfc59800 task.stack: ffff880183d18000 RIP: 0010:[] [] loop_set_fd drivers/block/loop.c:886 [inline] RIP: 0010:[] [] lo_ioctl+0x1517/0x1aa0 drivers/block/loop.c:1347 RSP: 0018:ffff880183d1fb08 EFLAGS: 00010206 RAX: 0000000000000036 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 000000000000008c RSI: ffffffff825cb166 RDI: 00000000000001b0 RBP: ffff880183d1fb80 R08: ffff8801bfc5a110 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff10037f8b41d R12: ffff8801d9c14c50 R13: ffff8801d9c14500 R14: ffff8801d38c9680 R15: ffff8801d38c97d8 FS: 00007fd84bfd0700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff0457ccc90 CR3: 00000001cf4f3000 CR4: 00000000001606f0 DR0: 00000000200001c0 DR1: 00000000200001c0 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffffffff81577f8f ffffffff815782e5 ffff8801d38c97d0 ffff880183d16000 ffff880183d1fb80 ffff8801d9c14e48 ffff8801bb3d8600 ffff8801d9c145e0 000000000002001d 0000000100000000 ffff8801d9c14500 1ffff100307a3f73 Call Trace: [] __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: e8 03 80 3c 08 00 0f 85 92 02 00 00 48 8b 9b f0 00 00 00 48 b9 00 00 00 00 00 fc ff df 48 8d bb b0 01 00 00 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 bf 03 00 00 48 8b 9b b0 01 00 00 48 b9 00 00 RIP [] loop_set_fd drivers/block/loop.c:886 [inline] RIP [] lo_ioctl+0x1517/0x1aa0 drivers/block/loop.c:1347 RSP ---[ end trace ab138bbace7aa046 ]---