------------[ cut here ]------------ WARNING: CPU: 0 PID: 24534 at fs/overlayfs/file.c:58 ovl_change_flags fs/overlayfs/file.c:58 [inline] WARNING: CPU: 0 PID: 24534 at fs/overlayfs/file.c:58 ovl_real_fdget_meta.cold+0x11/0x1e fs/overlayfs/file.c:109 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 24534 Comm: syz-executor.2 Not tainted 4.19.94-syzkaller #0 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+0x197/0x210 lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x53 kernel/panic.c:541 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+0x204/0x360 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037 RIP: 0010:ovl_change_flags fs/overlayfs/file.c:58 [inline] RIP: 0010:ovl_real_fdget_meta.cold+0x11/0x1e fs/overlayfs/file.c:109 Code: e9 b3 fd ff ff e8 fc ca 3f ff e9 fb fd ff ff e8 f2 ca 3f ff e9 15 fe ff ff e8 28 32 08 ff 48 c7 c7 20 20 d5 87 e8 b0 95 f2 fe <0f> 0b 41 bc fb ff ff ff e9 98 c6 ff ff e8 0a 32 08 ff 48 c7 c7 20 RSP: 0018:ffff88808e937ba0 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 0000000004048000 RCX: 0000000000000000 kauditd_printk_skb: 2 callbacks suppressed audit: type=1804 audit(1578716813.199:312): pid=24551 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir601507520/syzkaller.7YCBtT/501/bus" dev="sda1" ino=17041 res=1 RDX: 0000000000000000 RSI: ffffffff81558bb6 RDI: ffffed1011d26f66 RBP: ffff88808e937bd0 R08: 0000000000000024 R09: ffffed1015d05079 R10: ffffed1015d05078 R11: ffff8880ae8283c7 R12: 000000000000a000 R13: ffff8880878e47c0 R14: ffff8880878e4838 R15: ffff88809483b6b0 ovl_real_fdget fs/overlayfs/file.c:116 [inline] ovl_read_iter+0x11a/0x363 fs/overlayfs/file.c:241 audit: type=1804 audit(1578716813.199:313): pid=24551 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.1" name="/root/syzkaller-testdir601507520/syzkaller.7YCBtT/501/bus" dev="sda1" ino=17041 res=1 call_read_iter include/linux/fs.h:1814 [inline] new_sync_read fs/read_write.c:406 [inline] __vfs_read+0x584/0x800 fs/read_write.c:418 vfs_read+0x194/0x3d0 fs/read_write.c:452 ksys_read+0x14f/0x2d0 fs/read_write.c:579 __do_sys_read fs/read_write.c:589 [inline] __se_sys_read fs/read_write.c:587 [inline] __x64_sys_read+0x73/0xb0 fs/read_write.c:587 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45af49 Code: ad b6 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 audit: type=1804 audit(1578716813.199:314): pid=24557 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir601507520/syzkaller.7YCBtT/502/bus" dev="sda1" ino=17041 res=1 RSP: 002b:00007f80aa9a3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045af49 RDX: 0000000000001000 RSI: 0000000020000300 RDI: 0000000000000003 overlayfs: failed to resolve './file0': -2 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f80aa9a46d4 R13: 00000000004c964f R14: 00000000004e21e0 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..