kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 16333 Comm: syz-executor0 Not tainted 4.4.160+ #109 task: ffff8801d34e0000 task.stack: ffff8801d91c8000 RIP: 0010:[] [] is_loop_device drivers/block/loop.c:656 [inline] RIP: 0010:[] [] loop_validate_file+0x208/0x400 drivers/block/loop.c:667 RSP: 0018:ffff8801d91cfb70 EFLAGS: 00010206 RAX: 0000000000000036 RBX: dffffc0000000000 RCX: ffffc90000d7f000 RDX: 000000000000008d RSI: ffffffff81d29608 RDI: 00000000000001b0 RBP: ffff8801d91cfb88 R08: ffff8801d34e08c8 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8800bb65a280 R14: ffff8800bb65a280 R15: ffff8801d9abae58 FS: 00007fdf8de63700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 00000000ba4ad000 CR4: 00000000001606b0 Stack: ffff8801d9abad00 ffff8800ba3e4400 0000000000000003 ffff8801d91cfc18 ffffffff81d32b5d 1ffff1003b239f78 0000002e00000006 0000000000000000 00000001000000cf ffff8801d9abad18 0000000041b58ab3 ffffffff82c5be08 Call Trace: [] loop_change_fd drivers/block/loop.c:713 [inline] [] lo_ioctl+0x3ed/0x16b0 drivers/block/loop.c:1370 [] __blkdev_driver_ioctl block/ioctl.c:288 [inline] [] blkdev_ioctl+0x7a6/0x19a0 block/ioctl.c:584 [] block_ioctl+0xde/0x120 fs/block_dev.c:1625 [] vfs_ioctl fs/ioctl.c:43 [inline] [] file_ioctl fs/ioctl.c:470 [inline] [] do_vfs_ioctl+0x63f/0xf40 fs/ioctl.c:605 [] SYSC_ioctl fs/ioctl.c:622 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:613 [] entry_SYSCALL_64_fastpath+0x1e/0x9a 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 [] is_loop_device drivers/block/loop.c:656 [inline] RIP [] loop_validate_file+0x208/0x400 drivers/block/loop.c:667 RSP ---[ end trace 0a3cfc5e7cd54a61 ]---