Warning: Permanently added '10.128.0.237' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.054994] EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue [ 28.064512] audit: type=1800 audit(1652138508.698:2): pid=7952 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor905" name="bus" dev="loop0" ino=17 res=0 [ 28.085872] ------------[ cut here ]------------ [ 28.090758] kernel BUG at fs/ext4/inode.c:2847! [ 28.097415] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 28.102786] Modules linked in: [ 28.105974] CPU: 1 PID: 7952 Comm: syz-executor905 Not tainted 4.14.277-syzkaller #0 [ 28.113834] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.123165] task: ffff8880a1eb25c0 task.stack: ffff888095ee8000 [ 28.129204] RIP: 0010:ext4_writepages+0x27fc/0x32a0 [ 28.134336] RSP: 0018:ffff888095eef638 EFLAGS: 00010297 [ 28.139697] RAX: ffff8880a1eb25c0 RBX: 00000000a802c010 RCX: 1ffff110143d66b9 [ 28.146948] RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880a1eb35c8 [ 28.154226] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000001c16 [ 28.161484] R10: 0000000000000001 R11: ffff8880a1eb25c0 R12: 0000000000000001 [ 28.168733] R13: dffffc0000000000 R14: ffff88809e6e9830 R15: ffff888095eefa60 [ 28.175980] FS: 0000555557167300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 [ 28.184178] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 28.190054] CR2: 000055cdade67160 CR3: 0000000099ce5000 CR4: 00000000003406e0 [ 28.197301] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 28.204546] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 28.211792] Call Trace: [ 28.214360] ? trace_hardirqs_on+0x10/0x10 [ 28.218570] ? trace_hardirqs_on+0x10/0x10 [ 28.222782] ? __brelse+0x43/0x60 [ 28.226212] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 28.231638] ? ext4_mark_inode_dirty+0x7a0/0x7a0 [ 28.236367] ? mark_buffer_dirty+0x95/0x480 [ 28.240664] ? __ext4_handle_dirty_metadata+0x120/0x480 [ 28.246004] ? __lock_acquire+0x5fc/0x3f20 [ 28.250215] ? ext4_chunk_trans_blocks+0x30/0x30 [ 28.254961] ? trace_hardirqs_on+0x10/0x10 [ 28.259186] ? ext4_mark_inode_dirty+0x1db/0x7a0 [ 28.263929] ? ext4_expand_extra_isize+0x460/0x460 [ 28.268951] ? ext4_mark_inode_dirty+0x7a0/0x7a0 [ 28.273692] do_writepages+0xc3/0x240 [ 28.277478] ? page_writeback_cpu_online+0x10/0x10 [ 28.282399] ? lock_acquire+0x170/0x3f0 [ 28.286499] ? do_raw_spin_unlock+0x164/0x220 [ 28.290975] ? _raw_spin_unlock+0x29/0x40 [ 28.295109] ? wbc_attach_and_unlock_inode+0x5e8/0x8d0 [ 28.300375] __filemap_fdatawrite_range+0x236/0x310 [ 28.305399] ? replace_page_cache_page+0x700/0x700 [ 28.310307] file_write_and_wait_range+0x86/0xd0 [ 28.315038] __generic_file_fsync+0x70/0x190 [ 28.319422] ext4_sync_file+0x8ed/0x12c0 [ 28.323456] ? ext4_getfsmap+0x8c0/0x8c0 [ 28.327495] vfs_fsync_range+0x103/0x260 [ 28.331529] ext4_file_write_iter+0x5fa/0xd20 [ 28.335999] ? aa_file_perm+0x304/0xab0 [ 28.339950] ? debug_check_no_obj_freed+0x2c0/0x680 [ 28.344939] ? ext4_file_read_iter+0x330/0x330 [ 28.349496] ? trace_hardirqs_on+0x10/0x10 [ 28.353705] ? iov_iter_init+0xa6/0x1c0 [ 28.357655] __vfs_write+0x44c/0x630 [ 28.361344] ? debug_check_no_obj_freed+0x2c0/0x680 [ 28.366335] ? kernel_read+0x110/0x110 [ 28.370343] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 28.375347] vfs_write+0x17f/0x4d0 [ 28.378869] SyS_write+0xf2/0x210 [ 28.382299] ? SyS_read+0x210/0x210 [ 28.385901] ? do_syscall_64+0x4c/0x640 [ 28.389850] ? SyS_read+0x210/0x210 [ 28.393449] do_syscall_64+0x1d5/0x640 [ 28.397311] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.402473] RIP: 0033:0x7f541d5a9089 [ 28.406157] RSP: 002b:00007ffe32011ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 28.413837] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f541d5a9089 [ 28.421079] RDX: 0000000000000016 RSI: 0000000020002580 RDI: 0000000000000007 [ 28.428323] RBP: 00007f541d568920 R08: 0000000000000000 R09: 0000000000000000 [ 28.435564] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f541d5689b0 [ 28.442810] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 28.450056] Code: ff ff 4c 89 ff e8 45 cf c3 ff e9 98 db ff ff e8 1b 17 9a ff 48 8b bc 24 b8 00 00 00 e8 2e 76 b1 ff e9 18 f5 ff ff e8 04 17 9a ff <0f> 0b e8 fd 16 9a ff 48 8b bc 24 b8 00 00 00 e8 10 76 b1 ff 8b [ 28.469120] RIP: ext4_writepages+0x27fc/0x32a0 RSP: ffff888095eef638 [ 28.480546] ---[ end trace 2d54ca75734415cd ]--- [ 28.485829] Kernel panic - not syncing: Fatal exception [ 28.491359] Kernel Offset: disabled [ 28.494970] Rebooting in 86400 seconds..