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: 6081 Comm: syz-executor7 Not tainted 4.9.98-g9731a2d #22 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d3c0c800 task.stack: ffff8801d0040000 RIP: 0010:[] [] loop_set_fd drivers/block/loop.c:886 [inline] RIP: 0010:[] [] lo_ioctl+0x1517/0x1aa0 drivers/block/loop.c:1347 RSP: 0018:ffff8801d0047b08 EFLAGS: 00010206 RAX: 0000000000000036 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 000000000000008c RSI: ffffffff825c8b66 RDI: 00000000000001b0 RBP: ffff8801d0047b80 R08: ffff8801d3c0d110 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff1003a781a1d R12: ffff8801d9c11890 R13: ffff8801d9c11140 R14: ffff8801d39d5b00 R15: ffff8801d39d5c58 FS: 00007f39c9e78700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004db518 CR3: 00000001d3934000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000 000000000072b000 ffff8801d39d5c50 ffff8801d0046000 ffff8801d0047b80 ffff8801d9c11a88 ffff8801d3168600 ffff8801d9c11220 000000000002001d 0000000100000000 ffff8801d9c11140 1ffff1003a008f73 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 86ebb5956458b228 ]---