audit: type=1804 audit(1543826638.103:10364): pid=17205 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=ToMToU comm="syz-executor0" name="/root/syzkaller-testdir762724005/syzkaller.1ZdDoM/2582/bus" dev="sda1" ino=16613 res=1 WARNING: CPU: 0 PID: 17214 at fs/ext4/inode.c:3928 ext4_set_page_dirty+0x58c/0x780 fs/ext4/inode.c:3928 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 17214 Comm: syz-executor0 Not tainted 4.20.0-rc4+ #140 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x244/0x39d lib/dump_stack.c:113 panic+0x2ad/0x55c kernel/panic.c:188 __warn.cold.8+0x20/0x45 kernel/panic.c:540 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969 RIP: 0010:ext4_set_page_dirty+0x58c/0x780 fs/ext4/inode.c:3928 Code: 8b 85 b0 fe ff ff 4c 8d 70 ff e9 9f fc ff ff e8 fa 2a 67 ff 48 c7 c6 a0 63 3a 88 48 89 df e8 4b 52 98 ff 0f 0b e8 e4 2a 67 ff <0f> 0b e9 b3 fe ff ff e8 d8 2a 67 ff 4d 8d 75 c0 48 b8 00 00 00 00 RSP: 0018:ffff8881bf2b6130 EFLAGS: 00010293 RAX: ffff8881c2c0c6c0 RBX: ffffea0006e69600 RCX: ffffffff82186f8d RDX: 0000000000000000 RSI: ffffffff821870dc RDI: 0000000000000007 RBP: ffff8881bf2b6288 R08: ffff8881c2c0c6c0 R09: 0000000000000007 R10: 0000000000000000 R11: ffff8881c2c0c6c0 R12: 1ffff11037e56c28 R13: 0000000000000000 R14: 0000000000000001 R15: ffffea0006e69608 set_page_dirty+0x632/0x1030 mm/page-writeback.c:2553 set_page_dirty_lock+0x116/0x190 mm/page-writeback.c:2578 dio_bio_complete+0x5ad/0x890 fs/direct-io.c:559 dio_await_completion fs/direct-io.c:580 [inline] do_blockdev_direct_IO+0x3dcb/0x9db0 fs/direct-io.c:1388 __blockdev_direct_IO+0x9d/0xc6 fs/direct-io.c:1417 ext4_direct_IO_read fs/ext4/inode.c:3867 [inline] ext4_direct_IO+0x1156/0x2230 fs/ext4/inode.c:3899 generic_file_read_iter+0x4d7/0x2d70 mm/filemap.c:2268 ext4_file_read_iter+0x18b/0x3c0 fs/ext4/file.c:77 call_read_iter include/linux/fs.h:1851 [inline] new_sync_read fs/read_write.c:406 [inline] __vfs_read+0x6ac/0x9b0 fs/read_write.c:418 vfs_read+0x17f/0x3c0 fs/read_write.c:452 ksys_pread64+0x181/0x1b0 fs/read_write.c:626 __do_sys_pread64 fs/read_write.c:636 [inline] __se_sys_pread64 fs/read_write.c:633 [inline] __x64_sys_pread64+0x97/0xf0 fs/read_write.c:633 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f460d939c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000011 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000001000 RSI: 0000000020002000 RDI: 0000000000000007 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f460d93a6d4 R13: 00000000004c37d2 R14: 00000000004d5b60 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..