audit: type=1804 audit(1561772555.793:235): pid=25279 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op="invalid_pcr" cause="ToMToU" comm="syz-executor.0" name="/root/syzkaller-testdir639628136/syzkaller.rIf7ve/689/file0" dev="sda1" ino=17105 res=1 audit: type=1804 audit(1561772555.793:236): pid=25277 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op="invalid_pcr" cause="ToMToU" comm="syz-executor.0" name="/root/syzkaller-testdir639628136/syzkaller.rIf7ve/689/file0" dev="sda1" ino=17105 res=1 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: 25283 Comm: blkid Not tainted 4.14.131 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88807c1e26c0 task.stack: ffff8880591c0000 RIP: 0010:kobject_uevent_env+0xa1/0xc23 lib/kobject_uevent.c:350 RSP: 0018:ffff8880591c7b60 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: 0000000000000002 RCX: 1ffff1100f83c5e6 RDX: 0000000000000014 RSI: 0000000000000002 RDI: ffffffff870758b0 RBP: ffff8880591c7be0 R08: ffff88807c1e26c0 R09: 0000000000000003 R10: 0000000000000000 R11: ffff88807c1e26c0 R12: 00000000000000a0 R13: 0000000000000002 R14: ffff888012606040 R15: 00000000000000a0 FS: 00007fa615a73740(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000a5f59000 CR4: 00000000001406f0 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:0x7fa61537b2b0 RSP: 002b:00007fff0f848718 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa61537b2b0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000028 R09: 0000000001680000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000020b2030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005 Code: fa 83 e2 07 38 d0 7f 09 84 c0 74 05 e8 0f 9b 70 fb 41 80 4f 3c 08 e8 15 f9 46 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 a7 9a 70 fb 49 8b 37 48 c7 c1 a0 RIP: kobject_uevent_env+0xa1/0xc23 lib/kobject_uevent.c:350 RSP: ffff8880591c7b60 ---[ end trace 18178ec352af52d1 ]---