audit: type=1800 audit(1665768372.233:2): pid=7967 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor614" name="file3" dev="loop0" ino=16 res=0 NILFS (loop0): bad btree node (ino=16, blocknr=15): level = 0, flags = 0x0, nchildren = 0 NILFS error (device loop0): nilfs_bmap_last_key: broken bmap (inode number=16) NILFS (loop0): error -5 truncating bmap (ino=16) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7967 at include/linux/backing-dev.h:335 inode_to_wb include/linux/backing-dev.h:335 [inline] WARNING: CPU: 1 PID: 7967 at include/linux/backing-dev.h:335 account_page_dirtied+0x8df/0xbb0 mm/page-writeback.c:2437 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 7967 Comm: syz-executor614 Not tainted 4.14.295-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 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 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964 RIP: 0010:inode_to_wb include/linux/backing-dev.h:335 [inline] RIP: 0010:account_page_dirtied+0x8df/0xbb0 mm/page-writeback.c:2437 RSP: 0018:ffff888098027640 EFLAGS: 00010097 RAX: ffff888097c74180 RBX: ffff8880aec7a300 RCX: 1ffffffff127a5d4 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000086 RBP: ffff88808dfc6b58 R08: ffffffff8ba5d36c R09: 0000000000001d20 R10: 0000000000000001 R11: ffff888097c74180 R12: ffffea0002afdac0 R13: ffff88808dfc69c8 R14: ffff88808dfc69c8 R15: ffffea0002afdae0 __set_page_dirty+0x77/0x2a0 fs/buffer.c:634 mark_buffer_dirty+0x307/0x480 fs/buffer.c:1173 nilfs_btree_propagate_p fs/nilfs2/btree.c:1899 [inline] nilfs_btree_propagate+0x3a3/0xc20 fs/nilfs2/btree.c:2095 nilfs_bmap_propagate+0x73/0x160 fs/nilfs2/bmap.c:346 nilfs_collect_dat_data+0x41/0xb0 fs/nilfs2/segment.c:639 nilfs_segctor_apply_buffers+0x191/0x450 fs/nilfs2/segment.c:1027 nilfs_segctor_scan_file+0x366/0x630 fs/nilfs2/segment.c:1076 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1238 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1507 [inline] nilfs_segctor_do_construct+0x1420/0x78d0 fs/nilfs2/segment.c:2049 nilfs_segctor_construct+0x6db/0x8e0 fs/nilfs2/segment.c:2385 nilfs_segctor_write_out fs/nilfs2/segment.c:2708 [inline] nilfs_segctor_destroy fs/nilfs2/segment.c:2741 [inline] nilfs_detach_log_writer+0x398/0x980 fs/nilfs2/segment.c:2821 nilfs_put_super+0x3f/0x190 fs/nilfs2/super.c:479 generic_shutdown_super+0x144/0x370 fs/super.c:446 kill_block_super+0x95/0xe0 fs/super.c:1161 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 task_work_run+0x11f/0x190 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xa44/0x2850 kernel/exit.c:868 do_group_exit+0x100/0x2e0 kernel/exit.c:965 SYSC_exit_group kernel/exit.c:976 [inline] SyS_exit_group+0x19/0x20 kernel/exit.c:974 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f0662b62b79 RSP: 002b:00007ffef7dd0098 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f0662bda330 RCX: 00007f0662b62b79 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007f0662bd4e40 R10: 00007ffef7dcffb0 R11: 0000000000000246 R12: 00007f0662bda330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 Kernel Offset: disabled Rebooting in 86400 seconds..