Page cache invalidation failure on direct I/O. Possible data corruption due to collision with buffered I/O! File: /root/syzkaller-testdir544817450/syzkaller.Mi9Fph/37/bus PID: 8605 Comm: syz-executor.1 WARNING: CPU: 0 PID: 9103 at fs/ext4/inode.c:3929 ext4_set_page_dirty+0x30b/0x430 fs/ext4/inode.c:3929 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9103 Comm: syz-executor.0 Not tainted 5.0.0-rc7+ #87 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+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2cb/0x65c kernel/panic.c:214 kobject: 'loop2' (00000000972de4bd): kobject_uevent_env __warn.cold+0x20/0x45 kernel/panic.c:571 report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973 RIP: 0010:ext4_set_page_dirty+0x30b/0x430 fs/ext4/inode.c:3929 Code: ff e8 f9 a6 82 ff 49 8d 5f ff e9 e5 fd ff ff e8 eb a6 82 ff 48 c7 c6 e0 d3 7a 87 4c 89 e7 e8 7c 1c ab ff 0f 0b e8 d5 a6 82 ff <0f> 0b e9 56 ff ff ff e8 c9 a6 82 ff 4c 89 ea 48 b8 00 00 00 00 00 RSP: 0018:ffff8880899279e0 EFLAGS: 00010293 RAX: ffff888095b1a000 RBX: 0000000000000000 RCX: ffffffff81ed3a00 RDX: 0000000000000000 RSI: ffffffff81ed3aab RDI: 0000000000000001 RBP: ffff888089927a08 R08: ffff888095b1a000 R09: 0000000000000000 R10: ffffed100f7d47ff R11: ffff88807bea3fff R12: ffffea0001efa8c0 kobject: 'loop2' (00000000972de4bd): fill_kobj_path: path = '/devices/virtual/block/loop2' R13: ffffea0001efa8c8 R14: 0000000000000000 R15: ffffea0002129b88 set_page_dirty+0x2e9/0x820 mm/page-writeback.c:2560 set_page_dirty_lock+0x88/0xc0 mm/page-writeback.c:2585 process_vm_rw_pages mm/process_vm_access.c:51 [inline] process_vm_rw_single_vec mm/process_vm_access.c:124 [inline] process_vm_rw_core.isra.0+0x527/0xb20 mm/process_vm_access.c:220 kobject: 'loop1' (000000003178fe88): kobject_uevent_env process_vm_rw+0x21f/0x240 mm/process_vm_access.c:288 kobject: 'loop1' (000000003178fe88): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'loop2' (00000000972de4bd): kobject_uevent_env __do_sys_process_vm_writev mm/process_vm_access.c:310 [inline] __se_sys_process_vm_writev mm/process_vm_access.c:305 [inline] __x64_sys_process_vm_writev+0xe3/0x1a0 mm/process_vm_access.c:305 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e29 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efc05978c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 kobject: 'loop2' (00000000972de4bd): fill_kobj_path: path = '/devices/virtual/block/loop2' RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000457e29 RDX: 0000000000000001 RSI: 0000000020000040 RDI: 00000000000000ce RBP: 000000000073bfa0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00007efc059796d4 R13: 00000000004c4955 R14: 00000000004d8258 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..