audit: type=1804 audit(1599893699.560:18): pid=10386 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="open_writers" comm="syz-executor.4" name="/root/syzkaller-testdir086213105/syzkaller.FtWePn/102/bus" dev="sda1" ino=15981 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: 1 PID: 10388 Comm: syz-executor.4 Not tainted 4.14.197-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a163e180 task.stack: ffff88808bd60000 RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:167 [inline] RIP: 0010:rb_erase+0x29/0x1290 lib/rbtree.c:459 RSP: 0018:ffff88808bd67a68 EFLAGS: 00010292 RAX: dffffc0000000000 RBX: ffff8880828292b0 RCX: ffffc9000a0a1000 RDX: 0000000000000001 RSI: ffffffff8a67afa0 RDI: 0000000000000008 RBP: 0000000000000000 R08: ffffffff8a0aa7b0 R09: 00000000000403ed R10: ffff8880a163ea30 R11: ffff8880a163e180 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888059cbc8b8 R15: ffffffff8a67afa0 FS: 00007fc89761b700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdddbedc20 CR3: 0000000092590000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: integrity_inode_free+0x119/0x300 security/integrity/iint.c:146 security_inode_free+0x14/0x80 security/security.c:443 __destroy_inode+0x1e8/0x4d0 fs/inode.c:238 destroy_inode+0x49/0x110 fs/inode.c:265 iput_final fs/inode.c:1524 [inline] iput+0x458/0x7e0 fs/inode.c:1551 swap_inode_boot_loader fs/ext4/ioctl.c:197 [inline] ext4_ioctl+0x16c5/0x3870 fs/ext4/ioctl.c:924 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45d5b9 RSP: 002b:00007fc89761ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000db40 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003 RBP: 000000000118d0b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118d08c R13: 00007ffdac8b64af R14: 00007fc89761b9c0 R15: 000000000118d08c Code: ff ff 48 b8 00 00 00 00 00 fc ff df 41 57 49 89 f7 41 56 41 55 41 54 49 89 fc 48 83 c7 08 48 89 fa 55 48 c1 ea 03 53 48 83 ec 18 <80> 3c 02 00 0f 85 f2 0c 00 00 49 8d 7c 24 10 4d 8b 74 24 08 48 RIP: __rb_erase_augmented include/linux/rbtree_augmented.h:167 [inline] RSP: ffff88808bd67a68 RIP: rb_erase+0x29/0x1290 lib/rbtree.c:459 RSP: ffff88808bd67a68 ---[ end trace 54ff563c105b1dd7 ]---