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 NOPTI Modules linked in: CPU: 1 PID: 9605 Comm: syz-executor3 Not tainted 4.14.97+ #1 task: ffff8881c531de00 task.stack: ffff888194bb0000 RIP: 0010:kobject_uevent_env+0x62/0xc60 lib/kobject_uevent.c:348 RSP: 0018:ffff888194bb7960 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 0000000000000002 RCX: 0000000000022bdf RDX: ffffffff8280f526 RSI: ffffc90001f26000 RDI: 00000000000000c0 RBP: ffff8881cfd853d0 R08: 0000000000000001 R09: 0000000000000002 R10: ffff8881c531e680 R11: 0000000000000001 R12: 00000000000000a0 R13: dffffc0000000000 R14: ffff8881cfd85348 R15: 00000000000000a0 FS: 00007f8439604700(0000) GS:ffff8881d7700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020ac9000 CR3: 00000001be130006 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: loop_clr_fd+0x49e/0xac0 drivers/block/loop.c:1059 lo_release+0xdd/0x170 drivers/block/loop.c:1653 __blkdev_put+0x518/0x6d0 fs/block_dev.c:1791 blkdev_close+0x86/0xb0 fs/block_dev.c:1863 __fput+0x25e/0x700 fs/file_table.c:210 task_work_run+0x118/0x190 kernel/task_work.c:113 get_signal+0x11b8/0x14b0 kernel/signal.c:2178 do_signal+0x96/0x15c0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:267 [inline] do_syscall_64+0x372/0x4b0 arch/x86/entry/common.c:294 Code: 03 42 80 3c 28 00 0f 85 7c 0a 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 4f 02 00 00 e8 5a 9d af fe 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 48 0a 00 00 49 8b 6c 24 20 48 85 ed 74 b0 RIP: kobject_uevent_env+0x62/0xc60 lib/kobject_uevent.c:348 RSP: ffff888194bb7960 ---[ end trace be502c7a2c8c7561 ]---