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: 7975 Comm: syz-executor.0 Not tainted 4.14.292-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 task: ffff88809a504580 task.stack: ffff88809dc98000 RIP: 0010:kobject_uevent_env+0xb2/0xf30 lib/kobject_uevent.c:356 RSP: 0018:ffff88809dc9fbf8 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff110134a09d0 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0 RBP: ffff88809eefb910 R08: ffffffff8b9d3268 R09: 0000000000000003 R10: 0000000000000000 R11: ffff88809a504580 R12: 00000000000000a0 R13: dffffc0000000000 R14: ffff88809eefb808 R15: 00000000000000a0 FS: 0000555557506400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de23000 CR3: 000000009ad2e000 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:1665 [inline] lo_release+0xff/0x190 drivers/block/loop.c:1683 __blkdev_put+0x5aa/0x800 fs/block_dev.c:1803 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 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:0x7fbb7dc816e7 RSP: 002b:00007ffeaaabfac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fbb7dc816e7 RDX: 00007ffeaaabfb9a RSI: 000000000000000a RDI: 00007ffeaaabfb90 RBP: 00007ffeaaabfb90 R08: 00000000ffffffff R09: 00007ffeaaabf960 R10: 0000555557507903 R11: 0000000000000246 R12: 00007fbb7dcd942e R13: 00007ffeaaac0c50 R14: 0000555557507810 R15: 00007ffeaaac0c90 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 1a 0d 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: ffff88809dc9fbf8 ---[ end trace 7e21d1543a8d98e1 ]--- ---------------- 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 1a 0d 57 fa callq 0xfa570d39 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