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: 29311 Comm: syz-executor.4 Not tainted 4.14.157-syzkaller #0 task: 00000000e2e933f4 task.stack: 000000003cc01a07 RIP: 0010:kobject_uevent_env+0xa3/0xc60 lib/kobject_uevent.c:355 RSP: 0018:ffff8881c317f7d8 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff11033a3a104 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0 RBP: ffff888197a82f50 R08: 0000000000000001 R09: 0000000000000003 R10: fffffbfff51c6145 R11: ffffffffa8e30a2b R12: 00000000000000a0 R13: dffffc0000000000 R14: ffff888197a82e48 R15: 00000000000000a0 FS: 00007f4b6aff2700(0000) GS:ffff8881d7600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 00000001ffe26001 CR4: 00000000001606b0 DR0: 0000000000000000 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:1650 [inline] lo_release+0x10d/0x1a0 drivers/block/loop.c:1668 __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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9cb/0x2a20 kernel/exit.c:875 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2426 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 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:0x45a679 RSP: 002b:00007f4b6aff1cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 000000000075bf28 RCX: 000000000045a679 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bf28 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf2c R13: 00007fff8a940a2f R14: 00007f4b6aff29c0 R15: 000000000075bf2c 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 19 db aa 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: ffff8881c317f7d8 ---[ end trace 5a9401b4133438c6 ]---