Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.228' (ECDSA) to the list of known hosts. syzkaller login: [ 32.984318] IPVS: ftp: loaded support on port[0] = 21 executing program [ 33.059946] NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds [ 33.086293] NILFS error (device loop0): nilfs_check_page: bad entry in directory #12: rec_len is too small for name_len - offset=16, inode=2, rec_len=16, name_len=6 [ 33.101945] Remounting filesystem read-only [ 33.113206] WARNING: CPU: 1 PID: 8100 at include/linux/backing-dev.h:340 account_page_dirtied+0x8cc/0xbb0 [ 33.123127] Kernel panic - not syncing: panic_on_warn set ... [ 33.123127] [ 33.130496] CPU: 1 PID: 8100 Comm: syz-executor229 Not tainted 4.19.211-syzkaller #0 [ 33.138364] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 [ 33.147705] Call Trace: [ 33.150367] dump_stack+0x1fc/0x2ef [ 33.153992] panic+0x26a/0x50e [ 33.157192] ? __warn_printk+0xf3/0xf3 [ 33.161068] ? account_page_dirtied+0x8cc/0xbb0 [ 33.165726] ? __probe_kernel_read+0x130/0x1b0 [ 33.170311] ? __warn.cold+0x5/0x5a [ 33.173940] ? __warn+0xe4/0x200 [ 33.177387] ? account_page_dirtied+0x8cc/0xbb0 [ 33.182060] __warn.cold+0x20/0x5a [ 33.185580] ? account_page_dirtied+0x8cc/0xbb0 [ 33.190242] report_bug+0x262/0x2b0 [ 33.193949] do_error_trap+0x1d7/0x310 [ 33.197814] ? math_error+0x310/0x310 [ 33.201598] ? nilfs_segctor_construct+0x764/0xae0 [ 33.206521] ? nilfs_detach_log_writer+0x3b8/0x9f0 [ 33.211565] ? mark_held_locks+0xf0/0xf0 [ 33.215610] ? error_entry+0x72/0xd0 [ 33.219308] ? trace_hardirqs_off_caller+0x2c/0x210 [ 33.224309] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.229138] invalid_op+0x14/0x20 [ 33.232576] RIP: 0010:account_page_dirtied+0x8cc/0xbb0 [ 33.237830] Code: 88 01 00 00 be ff ff ff ff 48 8d 78 70 e8 ec e1 ca ff 31 ff 89 c3 89 c6 e8 f1 b3 e2 ff 85 db 0f 85 39 f9 ff ff e8 74 b2 e2 ff <0f> 0b e9 2d f9 ff ff e8 68 b2 e2 ff 4c 89 e6 4c 89 ef e8 9d b3 2d [ 33.256796] RSP: 0018:ffff888092157538 EFLAGS: 00010093 [ 33.262135] RAX: ffff8880b0d18240 RBX: 0000000000000000 RCX: ffffffff817fd2ef [ 33.269397] RDX: 0000000000000000 RSI: ffffffff817fd2fc RDI: 0000000000000005 [ 33.276646] RBP: ffff88808b043b48 R08: 0000000000000000 R09: 0000000000000000 [ 33.283893] R10: 0000000000000005 R11: 0000000000000000 R12: ffffea0002bea080 [ 33.291160] R13: ffff88808b0439c0 R14: ffff88808b043838 R15: ffffea0002bea088 [ 33.298513] ? account_page_dirtied+0x8bf/0xbb0 [ 33.303159] ? account_page_dirtied+0x8cc/0xbb0 [ 33.307820] ? account_page_dirtied+0x8cc/0xbb0 [ 33.312469] __set_page_dirty+0x7f/0x3e0 [ 33.316524] ? lock_page_memcg+0xa7/0x220 [ 33.320653] mark_buffer_dirty+0x424/0x5c0 [ 33.324870] nilfs_btree_propagate+0x728/0xd80 [ 33.329436] nilfs_bmap_propagate+0x73/0x170 [ 33.333838] nilfs_collect_dat_data+0x45/0xd0 [ 33.338331] nilfs_segctor_apply_buffers+0x14a/0x490 [ 33.343420] ? nilfs_collect_file_bmap+0x70/0x70 [ 33.348154] nilfs_segctor_scan_file+0x475/0x6f0 [ 33.352890] ? nilfs_collect_file_data+0xd0/0xd0 [ 33.357634] ? check_preemption_disabled+0x41/0x280 [ 33.362643] nilfs_segctor_do_construct+0x1562/0x8360 [ 33.367823] ? nilfs_segctor_scan_file+0x6f0/0x6f0 [ 33.372731] ? lock_downgrade+0x720/0x720 [ 33.377038] ? lock_acquire+0x170/0x3c0 [ 33.381002] ? nilfs_segctor_confirm+0xe1/0x180 [ 33.385652] ? do_raw_spin_unlock+0x171/0x230 [ 33.390146] ? _raw_spin_unlock+0x29/0x40 [ 33.394306] nilfs_segctor_construct+0x764/0xae0 [ 33.399058] nilfs_detach_log_writer+0x3b8/0x9f0 [ 33.403805] ? nilfs_clean_segments+0xa60/0xa60 [ 33.408464] ? evict_inodes+0xc3/0x430 [ 33.412332] ? dispose_list+0x16/0x1f0 [ 33.416219] ? wait_woken+0x250/0x250 [ 33.420001] ? dispose_list+0x1f0/0x1f0 [ 33.423960] nilfs_put_super+0x3f/0x1a0 [ 33.427912] ? nilfs_freeze+0xc0/0xc0 [ 33.431693] generic_shutdown_super+0x144/0x370 [ 33.436342] kill_block_super+0x97/0xf0 [ 33.440300] deactivate_locked_super+0x94/0x160 [ 33.444947] deactivate_super+0x174/0x1a0 [ 33.449095] ? deactivate_locked_super+0x160/0x160 [ 33.454012] ? dput+0x31/0x640 [ 33.457199] cleanup_mnt+0x1a8/0x290 [ 33.460897] task_work_run+0x148/0x1c0 [ 33.464766] do_exit+0xbf3/0x2be0 [ 33.468211] ? lock_downgrade+0x720/0x720 [ 33.472339] ? mm_update_next_owner+0x650/0x650 [ 33.476987] ? up_read+0x17/0x110 [ 33.480421] ? __do_page_fault+0x180/0xd60 [ 33.484648] do_group_exit+0x125/0x310 [ 33.488522] __x64_sys_exit_group+0x3a/0x50 [ 33.492827] do_syscall_64+0xf9/0x620 [ 33.496618] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.501785] RIP: 0033:0x7fc8bc5db9e9 [ 33.505483] Code: Bad RIP value. [ 33.508826] RSP: 002b:00007ffee84cf358 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 33.516512] RAX: ffffffffffffffda RBX: 00007fc8bc651330 RCX: 00007fc8bc5db9e9 [ 33.523765] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 33.531022] RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007fc8bc64be40 [ 33.538272] R10: 00007ffee84cf270 R11: 0000000000000246 R12: 00007fc8bc651330 [ 33.545521] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 33.553194] Kernel Offset: disabled [ 33.556867] Rebooting in 86400 seconds..