MTD: Attempt to mount non-MTD device "/dev/loop0" 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 Modules linked in: CPU: 0 PID: 32317 Comm: syz-executor.0 Not tainted 4.14.291-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 task: ffff888098e70400 task.stack: ffff8880a03c0000 RIP: 0010:kobject_uevent_env+0xb2/0xf30 lib/kobject_uevent.c:356 RSP: 0018:ffff8880a03c7c00 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 0000000000000002 RCX: ffffc90005bea000 RDX: 0000000000003f1a RSI: ffffffff86fe3626 RDI: 00000000000000c0 RBP: ffff8880aeb3c290 R08: ffffffff8b9a6380 R09: 0000000000000003 R10: 0000000000000000 R11: ffff888098e70400 R12: 00000000000000a0 R13: dffffc0000000000 R14: ffff8880aeb3c188 R15: 00000000000000a0 FS: 00007f76a89e4700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fccb75fc8 CR3: 000000008823d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: loop_clr_fd+0x59f/0xc20 drivers/block/loop.c:1069 __lo_release drivers/block/loop.c:1660 [inline] lo_release+0xff/0x190 drivers/block/loop.c:1678 __blkdev_put+0x5aa/0x800 fs/block_dev.c:1803 blkdev_close+0x86/0xb0 fs/block_dev.c:1875 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f76aa021ebb RSP: 002b:00007f76a89e3f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f76a89e46b8 RCX: 00007f76aa021ebb RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000010 R13: 0000000000000004 R14: 0000000020000318 R15: 0000000000000001 Code: 03 42 80 3c 28 00 0f 85 dd 0b 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 fa 0b 00 00 e8 5a 11 57 fa 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 d4 0b 00 00 49 8b 6c 24 20 48 85 ed 74 b0 RIP: kobject_uevent_env+0xb2/0xf30 lib/kobject_uevent.c:356 RSP: ffff8880a03c7c00 ---[ end trace 6d05c97dba6505c6 ]--- ---------------- Code disassembly (best guess): 0: 03 42 80 add -0x80(%rdx),%eax 3: 3c 28 cmp $0x28,%al 5: 00 0f add %cl,(%rdi) 7: 85 dd test %ebx,%ebp 9: 0b 00 or (%rax),%eax b: 00 4d 8b add %cl,-0x75(%rbp) e: 64 24 18 fs and $0x18,%al 11: 4d 85 e4 test %r12,%r12 14: 0f 84 fa 0b 00 00 je 0xc14 1a: e8 5a 11 57 fa callq 0xfa571179 1f: 49 8d 7c 24 20 lea 0x20(%r12),%rdi 24: 48 89 f8 mov %rdi,%rax 27: 48 c1 e8 03 shr $0x3,%rax * 2b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 30: 0f 85 d4 0b 00 00 jne 0xc0a 36: 49 8b 6c 24 20 mov 0x20(%r12),%rbp 3b: 48 85 ed test %rbp,%rbp 3e: 74 b0 je 0xfffffff0