kworker/u4:1: attempt to access beyond end of device loop0: rw=1, sector=72, nr_sectors = 2 limit=64 EXT4-fs warning (device loop0): ext4_end_bio:364: I/O error 10 writing to inode 15 starting block 36) Buffer I/O error on device loop0, logical block 36 kworker/u4:1: attempt to access beyond end of device loop0: rw=1, sector=392, nr_sectors = 2 limit=64 EXT4-fs warning (device loop0): ext4_end_bio:364: I/O error 10 writing to inode 15 starting block 196) Buffer I/O error on device loop0, logical block 196 EXT4-fs error (device loop0): ext4_do_update_inode:5801: inode #15: comm kworker/u4:1: corrupted inode contents EXT4-fs error (device loop0): ext4_dirty_inode:6731: inode #15: comm kworker/u4:1: mark_inode_dirty error EXT4-fs error (device loop0): ext4_do_update_inode:5801: inode #15: comm kworker/u4:1: corrupted inode contents EXT4-fs error (device loop0): ext4_dirty_inode:6731: inode #15: comm kworker/u4:1: mark_inode_dirty error EXT4-fs error (device loop0): ext4_do_update_inode:5801: inode #15: comm kworker/u4:1: corrupted inode contents EXT4-fs error (device loop0): ext4_dirty_inode:6731: inode #15: comm kworker/u4:1: mark_inode_dirty error ------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:4781! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 13 Comm: kworker/u4:1 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:ext4_mb_use_inode_pa+0x6bf/0x720 fs/ext4/mballoc.c:4781 Code: e8 e6 0f a2 ff 48 ba 00 00 00 00 00 fc ff df e9 d7 fa ff ff e8 a2 c7 30 ff 90 0f 0b e8 9a c7 30 ff 90 0f 0b e8 92 c7 30 ff 90 <0f> 0b e8 8a c7 30 ff 90 0f 0b 48 8b 0c 24 48 83 c1 54 80 e1 07 80 RSP: 0018:ffffc9000026e540 EFLAGS: 00010293 RAX: ffffffff82966d2e RBX: 00000000fffffff3 RCX: ffff88801b770000 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000003 RBP: 1ffff11008830ab5 R08: ffff888044189e13 R09: 1ffff110088313c2 R10: dffffc0000000000 R11: ffffed10088313c3 R12: 0000000000000000 R13: 0000000000000010 R14: 1ffff110088313c5 R15: ffff888044189e28 FS: 0000000000000000(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000f000 CR3: 000000001200f000 CR4: 0000000000352ef0 Call Trace: ext4_mb_use_preallocated+0x638/0x13e0 fs/ext4/mballoc.c:4998 ext4_mb_new_blocks+0x5a0/0x4530 fs/ext4/mballoc.c:6302 ext4_alloc_branch fs/ext4/indirect.c:340 [inline] ext4_ind_map_blocks+0xe96/0x22a0 fs/ext4/indirect.c:635 ext4_map_create_blocks+0xbb/0x530 fs/ext4/inode.c:632 ext4_map_blocks+0x791/0x12c0 fs/ext4/inode.c:823 mpage_map_one_extent fs/ext4/inode.c:2379 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2469 [inline] ext4_do_writepages+0x1901/0x4770 fs/ext4/inode.c:2938 ext4_writepages+0x241/0x3b0 fs/ext4/inode.c:3032 do_writepages+0x338/0x560 mm/page-writeback.c:2560 __writeback_single_inode+0x136/0x1220 fs/fs-writeback.c:1788 writeback_sb_inodes+0x9de/0x1b00 fs/fs-writeback.c:2099 __writeback_inodes_wb+0x114/0x240 fs/fs-writeback.c:2175 wb_writeback+0x42f/0xad0 fs/fs-writeback.c:2286 wb_check_start_all fs/fs-writeback.c:2412 [inline] wb_do_writeback fs/fs-writeback.c:2459 [inline] wb_workfn+0x980/0x10f0 fs/fs-writeback.c:2497 process_one_work kernel/workqueue.c:3387 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3470 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3551 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_use_inode_pa+0x6bf/0x720 fs/ext4/mballoc.c:4781 Code: e8 e6 0f a2 ff 48 ba 00 00 00 00 00 fc ff df e9 d7 fa ff ff e8 a2 c7 30 ff 90 0f 0b e8 9a c7 30 ff 90 0f 0b e8 92 c7 30 ff 90 <0f> 0b e8 8a c7 30 ff 90 0f 0b 48 8b 0c 24 48 83 c1 54 80 e1 07 80 RSP: 0018:ffffc9000026e540 EFLAGS: 00010293 RAX: ffffffff82966d2e RBX: 00000000fffffff3 RCX: ffff88801b770000 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000003 RBP: 1ffff11008830ab5 R08: ffff888044189e13 R09: 1ffff110088313c2 R10: dffffc0000000000 R11: ffffed10088313c3 R12: 0000000000000000 R13: 0000000000000010 R14: 1ffff110088313c5 R15: ffff888044189e28 FS: 0000000000000000(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000f000 CR3: 000000001200f000 CR4: 0000000000352ef0