[ 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: [ 28.365378] EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue [ 28.383971] audit: type=1804 audit(1666154000.943:2): pid=7961 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor243" name="/root/file0/file0" dev="loop0" ino=17 res=1 [ 28.395603] ------------[ cut here ]------------ [ 28.407611] kernel BUG at fs/ext4/inode.c:2854! [ 28.413235] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 28.418596] Modules linked in: [ 28.419785] audit: type=1804 audit(1666154000.953:3): pid=7961 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor243" name="/root/file0/file0" dev="loop0" ino=17 res=1 [ 28.421777] CPU: 1 PID: 7961 Comm: syz-executor243 Not tainted 4.14.295-syzkaller #0 [ 28.447901] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 28.457229] task: ffff888097f86640 task.stack: ffff888098e50000 [ 28.463264] RIP: 0010:ext4_writepages+0x27fc/0x32a0 [ 28.468250] RSP: 0018:ffff888098e57638 EFLAGS: 00010297 [ 28.473675] RAX: ffff888097f86640 RBX: 00000000a802c010 RCX: 1ffff11012ff0ec9 [ 28.480917] RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888097f87648 [ 28.488158] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000001be8 [ 28.495399] R10: 0000000000000001 R11: ffff888097f86640 R12: 0000000000000001 [ 28.502641] R13: dffffc0000000000 R14: ffff88808df73870 R15: ffff888098e57a60 [ 28.509882] FS: 0000555555f07300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 [ 28.518077] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 28.523930] CR2: 0000560b2e99b128 CR3: 000000009e948000 CR4: 00000000003406e0 [ 28.531178] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 28.538420] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 28.545661] Call Trace: [ 28.548223] ? trace_hardirqs_on+0x10/0x10 [ 28.552430] ? trace_hardirqs_on+0x10/0x10 [ 28.556639] ? __brelse+0x43/0x60 [ 28.560066] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 28.565490] ? ext4_mark_inode_dirty+0x7a0/0x7a0 [ 28.570216] ? mark_buffer_dirty+0x95/0x480 [ 28.574508] ? __ext4_handle_dirty_metadata+0x120/0x480 [ 28.579844] ? __lock_acquire+0x5fc/0x3f20 [ 28.584052] ? ext4_chunk_trans_blocks+0x30/0x30 [ 28.588779] ? trace_hardirqs_on+0x10/0x10 [ 28.592986] ? ext4_mark_inode_dirty+0x1db/0x7a0 [ 28.597713] ? ext4_expand_extra_isize+0x460/0x460 [ 28.602616] ? ext4_mark_inode_dirty+0x7a0/0x7a0 [ 28.607343] do_writepages+0xc3/0x240 [ 28.611119] ? deref_stack_reg+0x124/0x1a0 [ 28.615326] ? page_writeback_cpu_online+0x10/0x10 [ 28.620226] ? lock_acquire+0x170/0x3f0 [ 28.624171] ? do_raw_spin_unlock+0x164/0x220 [ 28.628639] ? _raw_spin_unlock+0x29/0x40 [ 28.632758] ? wbc_attach_and_unlock_inode+0x5e8/0x8d0 [ 28.638009] __filemap_fdatawrite_range+0x236/0x310 [ 28.642996] ? replace_page_cache_page+0x700/0x700 [ 28.647901] file_write_and_wait_range+0x86/0xd0 [ 28.652628] __generic_file_fsync+0x70/0x190 [ 28.657008] ext4_sync_file+0x8ed/0x12c0 [ 28.661041] ? ext4_getfsmap+0x8c0/0x8c0 [ 28.665075] vfs_fsync_range+0x103/0x260 [ 28.669112] ext4_file_write_iter+0x5fa/0xd20 [ 28.673586] ? aa_file_perm+0x304/0xab0 [ 28.677535] ? debug_check_no_obj_freed+0x2c0/0x680 [ 28.682522] ? ext4_file_read_iter+0x330/0x330 [ 28.687078] ? trace_hardirqs_on+0x10/0x10 [ 28.691285] ? iov_iter_init+0xa6/0x1c0 [ 28.695230] __vfs_write+0x44c/0x630 [ 28.698925] ? debug_check_no_obj_freed+0x2c0/0x680 [ 28.703912] ? kernel_read+0x110/0x110 [ 28.707778] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 28.712765] vfs_write+0x17f/0x4d0 [ 28.716279] SyS_write+0xf2/0x210 [ 28.719703] ? SyS_read+0x210/0x210 [ 28.723303] ? SyS_sendfile+0x130/0x130 [ 28.727250] ? do_syscall_64+0x4c/0x640 [ 28.731195] ? SyS_read+0x210/0x210 [ 28.734795] do_syscall_64+0x1d5/0x640 [ 28.738657] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.743817] RIP: 0033:0x7fada7948f09 [ 28.747500] RSP: 002b:00007ffc71947e98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 28.755177] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fada7948f09 [ 28.762419] RDX: 0000000000000088 RSI: 0000000020000440 RDI: 0000000000000006 [ 28.769660] RBP: 00007fada79087a0 R08: 0000000000000000 R09: 0000000000000000 [ 28.776902] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fada7908830 [ 28.784163] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 28.791406] Code: ff ff 4c 89 ff e8 25 b9 c3 ff e9 98 db ff ff e8 fb fe 99 ff 48 8b bc 24 b8 00 00 00 e8 0e 5f b1 ff e9 18 f5 ff ff e8 e4 fe 99 ff <0f> 0b e8 dd fe 99 ff 48 8b bc 24 b8 00 00 00 e8 f0 5e b1 ff 8b [ 28.810469] RIP: ext4_writepages+0x27fc/0x32a0 RSP: ffff888098e57638 [ 28.817491] ---[ end trace 71f9a0f339f84452 ]--- [ 28.822371] Kernel panic - not syncing: Fatal exception [ 28.827874] Kernel Offset: disabled [ 28.831479] Rebooting in 86400 seconds..