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: 0 PID: 25425 Comm: blkid Not tainted 4.14.146+ #0 task: 000000005c885070 task.stack: 0000000065da89cc RIP: 0010:kobject_uevent_env+0xa3/0xc60 lib/kobject_uevent.c:355 RSP: 0018:ffff8881c377fc08 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff110395913f4 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0 RBP: ffff8881a13d86d0 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff2945b9d R11: ffffffff94a2dceb R12: 00000000000000a0 R13: dffffc0000000000 R14: ffff8881a13d85c8 R15: 00000000000000a0 FS: 00007f897eb97740(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002067b000 CR3: 00000001ca6f2006 CR4: 00000000001606b0 DR0: ffffffffffffff28 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: loop_clr_fd+0x4ab/0xad0 drivers/block/loop.c:1059 __lo_release drivers/block/loop.c:1649 [inline] lo_release+0x10d/0x1a0 drivers/block/loop.c:1667 __blkdev_put+0x518/0x6d0 fs/block_dev.c:1791 blkdev_close+0x86/0xb0 fs/block_dev.c:1863 __fput+0x25e/0x710 fs/file_table.c:210 task_work_run+0x125/0x1a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x13b/0x160 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+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f897e49f2b0 RSP: 002b:00007ffd78869f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f897e7771ee RCX: 00007f897e49f2b0 RDX: 00007f897e755df0 RSI: 0000000000000017 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 00000000007641c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000764030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000004 Code: 03 42 80 3c 28 00 0f 85 44 0a 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 22 02 00 00 e8 a9 7b ab fe 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 10 0a 00 00 49 8b 6c 24 20 48 85 ed 74 b0 RIP: kobject_uevent_env+0xa3/0xc60 lib/kobject_uevent.c:355 RSP: ffff8881c377fc08 ---[ end trace 764484ae28acb162 ]---