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: 23672 Comm: syz-executor.5 Not tainted 4.14.150 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88806af46600 task.stack: ffff88805bc68000 RIP: 0010:kobject_uevent_env+0xa1/0xc23 lib/kobject_uevent.c:350 RSP: 0018:ffff88805bc6fb60 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: 0000000000000002 RCX: 1ffff1100d5e8dce RDX: 0000000000000014 RSI: 0000000000000002 RDI: ffffffff8707b510 RBP: ffff88805bc6fbe0 R08: ffff88806af46600 R09: 0000000000000003 R10: 0000000000000000 R11: ffff88806af46600 R12: 00000000000000a0 R13: 0000000000000002 R14: ffff8880a45531c0 R15: 00000000000000a0 FS: 00000000026a4940(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 000000006984e000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject_uevent+0x20/0x26 lib/kobject_uevent.c:553 loop_clr_fd+0x4a7/0xae0 drivers/block/loop.c:1059 __lo_release drivers/block/loop.c:1649 [inline] lo_release+0x112/0x1b0 drivers/block/loop.c:1667 __blkdev_put+0x434/0x7f0 fs/block_dev.c:1791 blkdev_put+0x88/0x510 fs/block_dev.c:1856 blkdev_close+0x8b/0xb0 fs/block_dev.c:1863 __fput+0x275/0x7a0 fs/file_table.c:210 ____fput+0x16/0x20 fs/file_table.c:244 task_work_run+0x114/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1da/0x220 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+0x4bc/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4139c1 RSP: 002b:00007fff60009ac0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00000000004139c1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 0000000000000001 R08: 00000000e1ded0b4 R09: 00000000e1ded0b8 R10: 00007fff60009ba0 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 0000000000761900 R15: 000000000075bfd4 Code: fa 83 e2 07 38 d0 7f 09 84 c0 74 05 e8 cf 27 6f fb 41 80 4f 3c 08 e8 45 73 45 fb 4c 89 fa b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a <80> 3c 02 00 74 08 4c 89 ff e8 67 27 6f fb 49 8b 37 48 c7 c1 00 RIP: kobject_uevent_env+0xa1/0xc23 lib/kobject_uevent.c:350 RSP: ffff88805bc6fb60 ---[ end trace 58945257c428d818 ]---