[ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Started Getty on tty2. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.118' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.160611] EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue [ 33.186413] EXT4-fs error (device loop0): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters [ 33.202474] ------------[ cut here ]------------ [ 33.207326] kernel BUG at fs/ext4/inode.c:2794! [ 33.212589] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 33.217963] CPU: 0 PID: 8105 Comm: syz-executor592 Not tainted 4.19.211-syzkaller #0 [ 33.225822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 33.235163] RIP: 0010:ext4_writepages+0x2d31/0x37f0 [ 33.240157] Code: 00 fc ff df 44 89 64 24 18 48 c1 ea 03 80 3c 02 00 0f 84 25 da ff ff 48 8b 3c 24 e8 89 2d b8 ff e9 17 da ff ff e8 8f 50 82 ff <0f> 0b 4c 8b b4 24 20 01 00 00 e8 80 50 82 ff 0f b6 ac 24 50 02 00 [ 33.259038] RSP: 0018:ffff88809bebf588 EFLAGS: 00010293 [ 33.264379] RAX: ffff888096cae400 RBX: 0000000000000001 RCX: ffffffff81e03070 [ 33.271628] RDX: 0000000000000000 RSI: ffffffff81e034e1 RDI: 0000000000000007 [ 33.278890] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 33.286139] R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001 [ 33.293387] R13: dffffc0000000000 R14: ffff88808b06c830 R15: 0000000000000000 [ 33.300636] FS: 00007f3ade6bb700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 [ 33.308841] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.314697] CR2: 00007f3ade751b90 CR3: 00000000a11ce000 CR4: 00000000003406f0 [ 33.321959] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 33.329206] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 33.336452] Call Trace: [ 33.339021] ? mark_buffer_dirty+0x105/0x5c0 [ 33.343412] ? check_preemption_disabled+0x41/0x280 [ 33.348408] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 33.353402] ? mark_buffer_dirty+0x105/0x5c0 [ 33.357788] ? ext4_mark_inode_dirty+0x870/0x870 [ 33.362520] ? __ext4_handle_dirty_metadata+0x1e0/0x590 [ 33.367861] ? find_inode_nowait+0x158/0x190 [ 33.372246] ? __brelse+0x84/0xa0 [ 33.375676] ? ext4_mark_iloc_dirty+0x1b0d/0x2b30 [ 33.380497] ? __lock_acquire+0x6de/0x3ff0 [ 33.384708] ? __ext4_journal_get_write_access+0x6c/0xa0 [ 33.390136] ? mark_held_locks+0xf0/0xf0 [ 33.394185] ? ext4_mark_inode_dirty+0x222/0x870 [ 33.398919] ? ext4_expand_extra_isize+0x500/0x500 [ 33.403833] ? ext4_mark_inode_dirty+0x870/0x870 [ 33.408569] do_writepages+0xe5/0x290 [ 33.412351] ? page_writeback_cpu_online+0x10/0x10 [ 33.417260] ? do_raw_spin_unlock+0x171/0x230 [ 33.421739] ? _raw_spin_unlock+0x29/0x40 [ 33.425867] ? wbc_attach_and_unlock_inode+0x11d/0x9e0 [ 33.431123] __filemap_fdatawrite_range+0x27d/0x350 [ 33.436119] ? delete_from_page_cache_batch+0xcc0/0xcc0 [ 33.441476] ? generic_perform_write+0x36c/0x4d0 [ 33.446210] file_write_and_wait_range+0x93/0x100 [ 33.451693] __generic_file_fsync+0x74/0x1f0 [ 33.459018] ext4_sync_file+0xa35/0x1420 [ 33.463064] ? ext4_getfsmap+0x980/0x980 [ 33.467107] vfs_fsync_range+0x13a/0x220 [ 33.471156] ext4_file_write_iter+0x726/0xf20 [ 33.475632] ? ext4_file_open+0x600/0x600 [ 33.479760] ? __might_fault+0x11f/0x1d0 [ 33.483805] ? mark_held_locks+0xf0/0xf0 [ 33.487846] ? __fdget_pos+0x26f/0x310 [ 33.491711] __vfs_write+0x51b/0x770 [ 33.495405] ? common_file_perm+0x4e5/0x850 [ 33.499706] ? kernel_read+0x110/0x110 [ 33.503576] ? check_preemption_disabled+0x41/0x280 [ 33.508573] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 33.513566] vfs_write+0x1f3/0x540 [ 33.517111] ksys_write+0x12b/0x2a0 [ 33.520748] ? __ia32_sys_read+0xb0/0xb0 [ 33.524788] ? trace_hardirqs_off_caller+0x6e/0x210 [ 33.529785] ? do_syscall_64+0x21/0x620 [ 33.533738] do_syscall_64+0xf9/0x620 [ 33.537522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.542691] RIP: 0033:0x7f3ade716669 [ 33.546383] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 17 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 33.565270] RSP: 002b:00007f3ade6bb208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 33.572958] RAX: ffffffffffffffda RBX: 00007f3ade7936c8 RCX: 00007f3ade716669 [ 33.580207] RDX: 0000000000000009 RSI: 0000000020000f80 RDI: 0000000000000004 [ 33.587456] RBP: 00007f3ade7936c0 R08: 00007f3ade7936c0 R09: 0000000000000000 [ 33.594703] R10: 00007f3ade6bb210 R11: 0000000000000246 R12: 00007f3ade7936cc [ 33.601948] R13: 00007fffd69b9d9f R14: 00007f3ade6bb300 R15: 0000000000022000 [ 33.609200] Modules linked in: [ 33.614264] ---[ end trace 1741f5d687e7c753 ]--- [ 33.619097] RIP: 0010:ext4_writepages+0x2d31/0x37f0 [ 33.624405] Code: 00 fc ff df 44 89 64 24 18 48 c1 ea 03 80 3c 02 00 0f 84 25 da ff ff 48 8b 3c 24 e8 89 2d b8 ff e9 17 da ff ff e8 8f 50 82 ff <0f> 0b 4c 8b b4 24 20 01 00 00 e8 80 50 82 ff 0f b6 ac 24 50 02 00 [ 33.643549] RSP: 0018:ffff88809bebf588 EFLAGS: 00010293 [ 33.648901] RAX: ffff888096cae400 RBX: 0000000000000001 RCX: ffffffff81e03070 [ 33.656395] RDX: 0000000000000000 RSI: ffffffff81e034e1 RDI: 0000000000000007 [ 33.663857] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 33.671111] R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001 [ 33.678630] R13: dffffc0000000000 R14: ffff88808b06c830 R15: 0000000000000000 [ 33.686083] FS: 00007f3ade6bb700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 [ 33.694506] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.700400] CR2: 00007f3ade751b90 CR3: 00000000a11ce000 CR4: 00000000003406f0 [ 33.707899] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 33.715374] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 33.722685] Kernel panic - not syncing: Fatal exception [ 33.728220] Kernel Offset: disabled [ 33.731855] Rebooting in 86400 seconds..