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: 28921 Comm: syz-executor5 Not tainted 4.9.105-gd7e64f8 #43 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff880199ff0000 task.stack: ffff880198458000 RIP: 0010:[] [] loop_set_fd drivers/block/loop.c:886 [inline] RIP: 0010:[] [] lo_ioctl+0x1517/0x1aa0 drivers/block/loop.c:1347 RSP: 0018:ffff88019845fca8 EFLAGS: 00010206 RAX: 0000000000000036 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 00000000000028af RSI: ffffffff825cbfb6 RDI: 00000000000001b0 RBP: ffff88019845fd20 R08: ffff880199ff0910 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff100333fe11d R12: ffff8801cbf2d7d0 R13: ffff8801d9c133c0 R14: ffff8801d39f2880 R15: ffff8801d39f29d8 FS: 0000000000000000(0000) GS:ffff8801db200000(0063) knlGS:00000000f57a4b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007fdc2a2ee000 CR3: 00000001caf44000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff88019845fca8 ffff88019845fca8 ffff8801d39f29d0 0000000000006000 ffff8801d3eaf488 ffff8801cbf2d9c8 ffff8801cdb77600 ffff8801d9c134a0 ffff88010002001d ffff880100000000 ffff8801d9c133c0 0000000000004c00 Call Trace: [] lo_compat_ioctl+0xb2/0x140 drivers/block/loop.c:1540 [] compat_blkdev_ioctl+0x3a5/0x3ad0 block/compat_ioctl.c:751 [] C_SYSC_ioctl fs/compat_ioctl.c:1602 [inline] [] compat_SyS_ioctl+0x126/0x1fe0 fs/compat_ioctl.c:1549 [] do_syscall_32_irqs_on arch/x86/entry/common.c:325 [inline] [] do_fast_syscall_32+0x2f7/0x870 arch/x86/entry/common.c:387 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 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 24e38b8e7e3acacc ]---