blk_update_request: I/O error, dev loop0, sector 594 Buffer I/O error on dev loop0, logical block 594, lost async page write kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 10208 Comm: syz-executor.2 Not tainted 4.9.141+ #23 task: ffff8801d2998000 task.stack: ffff8801c8438000 RIP: 0010:[] [] is_loop_device drivers/block/loop.c:645 [inline] RIP: 0010:[] [] loop_validate_file+0x208/0x400 drivers/block/loop.c:656 RSP: 0018:ffff8801c843fc88 EFLAGS: 00010206 RAX: 0000000000000036 RBX: dffffc0000000000 RCX: ffffc9000191f000 RDX: 0000000000000091 RSI: ffffffff81de0a28 RDI: 00000000000001b0 RBP: ffff8801c843fca0 R08: ffff8801d29988b0 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8801da011140 R14: ffff8801da011140 R15: ffff8801d7041358 FS: 0000000000000000(0000) GS:ffff8801db600000(0063) knlGS:00000000f5590b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020170000 CR3: 00000001c77f0000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801d7041200 ffff8801d7603a00 00000000fffffff0 ffff8801c843fd28 ffffffff81de7b85 ffff88021fffd017 ffff8801d958b090 0000000000000001 ffff8801d7476910 0000000000000000 ffff8801d7041350 1ffff10039087fa8 Call Trace: [] loop_set_fd drivers/block/loop.c:909 [inline] [] lo_ioctl+0x865/0x1910 drivers/block/loop.c:1375 [] lo_compat_ioctl+0xac/0x140 drivers/block/loop.c:1574 [] compat_blkdev_ioctl+0x3a4/0x3630 block/compat_ioctl.c:751 [] C_SYSC_ioctl fs/compat_ioctl.c:1602 [inline] [] compat_SyS_ioctl+0x12d/0x1fd0 fs/compat_ioctl.c:1549 [] do_syscall_32_irqs_on arch/x86/entry/common.c:328 [inline] [] do_fast_syscall_32+0x2f1/0xa10 arch/x86/entry/common.c:390 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 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:645 [inline] RIP [] loop_validate_file+0x208/0x400 drivers/block/loop.c:656 RSP ---[ end trace 18cd4c6ca29466f0 ]---