NILFS (loop5): invalid segment: Checksum error in segment payload NILFS (loop4): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds NILFS (loop5): trying rollback from an earlier position ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9903 at fs/nilfs2/dat.c:167 nilfs_dat_prepare_end+0x1e8/0x2e0 fs/nilfs2/dat.c:167 Kernel panic - not syncing: kernel: panic_on_warn set ... CPU: 0 PID: 9903 Comm: syz-executor.4 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x21d/0x451 kernel/panic.c:247 check_panic_on_warn.cold+0x19/0x35 kernel/panic.c:171 __warn+0xdf/0x1e0 kernel/panic.c:603 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 NILFS (loop5): recovery complete invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 RIP: 0010:nilfs_dat_prepare_end+0x1e8/0x2e0 fs/nilfs2/dat.c:167 RSP: 0018:ffff88808bdb79e8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff88808bdb7a50 RCX: ffffc9000849a000 NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds RDX: 000000000000194b RSI: ffffffff826e0b88 RDI: ffff88804837c648 RBP: ffff88808bdb7a68 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000fffffffe R13: ffff8880482ee180 R14: ffff8880482ee180 R15: ffff88804837d370 nilfs_bmap_prepare_end_ptr fs/nilfs2/bmap.h:220 [inline] nilfs_direct_delete+0x1b7/0x250 fs/nilfs2/direct.c:164 nilfs_bmap_do_delete+0x1d8/0x280 fs/nilfs2/bmap.c:185 nilfs_bmap_do_truncate fs/nilfs2/bmap.c:273 [inline] nilfs_bmap_truncate+0xe9/0x280 fs/nilfs2/bmap.c:306 nilfs_truncate_bmap+0x101/0x2c0 fs/nilfs2/inode.c:867 kauditd_printk_skb: 9 callbacks suppressed audit: type=1804 audit(1677651932.141:21): pid=9891 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir4059386779/syzkaller.MW3k4h/13/file0/bus" dev="loop5" ino=12 res=1 audit: type=1804 audit(1677651932.141:22): pid=9891 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.5" name="/root/syzkaller-testdir4059386779/syzkaller.MW3k4h/13/file0/bus" dev="loop5" ino=12 res=1 nilfs_evict_inode+0x11b/0x3a0 fs/nilfs2/inode.c:955 evict+0x2c8/0x700 fs/inode.c:554 iput_final fs/inode.c:1523 [inline] iput+0x458/0x7e0 fs/inode.c:1550 do_unlinkat+0x35b/0x5c0 fs/namei.c:4100 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fa5ebe3b0f9 RSP: 002b:00007fa5ea3ad168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fa5ebf5af80 RCX: 00007fa5ebe3b0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007fa5ebe96ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff534b880f R14: 00007fa5ea3ad300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..