kworker/u4:5: 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:372: I/O error 10 writing to inode 15 starting block 36) Buffer I/O error on device loop0, logical block 36 kworker/u4:5: attempt to access beyond end of device loop0: rw=1, sector=78, nr_sectors = 2 limit=64 EXT4-fs warning (device loop0): ext4_end_bio:372: I/O error 10 writing to inode 15 starting block 39) Buffer I/O error on device loop0, logical block 39 EXT4-fs error (device loop0): ext4_do_update_inode:5690: inode #15: comm kworker/u4:5: corrupted inode contents EXT4-fs error (device loop0): ext4_dirty_inode:6587: inode #15: comm kworker/u4:5: mark_inode_dirty error EXT4-fs error (device loop0): ext4_do_update_inode:5690: inode #15: comm kworker/u4:5: corrupted inode contents EXT4-fs error (device loop0): ext4_dirty_inode:6587: inode #15: comm kworker/u4:5: mark_inode_dirty error EXT4-fs error (device loop0): ext4_do_update_inode:5690: inode #15: comm kworker/u4:5: corrupted inode contents EXT4-fs error (device loop0): ext4_dirty_inode:6587: inode #15: comm kworker/u4:5: mark_inode_dirty error ------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:4780! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 152 Comm: kworker/u4:5 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+0x6c1/0x720 fs/ext4/mballoc.c:4780 Code: e8 24 90 a4 ff 48 ba 00 00 00 00 00 fc ff df e9 da fa ff ff e8 00 aa 37 ff 90 0f 0b e8 f8 a9 37 ff 90 0f 0b e8 f0 a9 37 ff 90 <0f> 0b e8 e8 a9 37 ff 90 0f 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc900016be528 EFLAGS: 00010293 RAX: ffffffff828e1d20 RBX: 00000000ffffffca RCX: ffff888032aea540 RDX: 0000000000000000 RSI: 0000000000000054 RDI: 000000000000001e RBP: 1ffff11008d254b5 R08: ffff88804692eefb R09: 1ffff11008d25ddf R10: dffffc0000000000 R11: ffffed1008d25de0 R12: 0000000000000000 R13: 0000000000000054 R14: 1ffff11008d25de2 R15: ffff88804692ef10 FS: 0000000000000000(0000) GS:ffff88808c894000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bef1ee6b8 CR3: 000000003ee85000 CR4: 0000000000352ef0 Call Trace: ext4_mb_use_preallocated+0x660/0x13f0 fs/ext4/mballoc.c:4997 ext4_mb_new_blocks+0x5e2/0x46c0 fs/ext4/mballoc.c:6301 ext4_alloc_branch fs/ext4/indirect.c:340 [inline] ext4_ind_map_blocks+0xe96/0x2260 fs/ext4/indirect.c:635 ext4_map_create_blocks+0xc1/0x540 fs/ext4/inode.c:633 ext4_map_blocks+0x7cd/0x11d0 fs/ext4/inode.c:824 mpage_map_one_extent fs/ext4/inode.c:2396 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2490 [inline] ext4_do_writepages+0x18f3/0x4670 fs/ext4/inode.c:2948 ext4_writepages+0x241/0x3b0 fs/ext4/inode.c:3042 do_writepages+0x32e/0x550 mm/page-writeback.c:2571 __writeback_single_inode+0x133/0x10e0 fs/fs-writeback.c:1764 writeback_sb_inodes+0x979/0x19d0 fs/fs-writeback.c:2056 __writeback_inodes_wb+0x111/0x240 fs/fs-writeback.c:2132 wb_writeback+0x459/0xb00 fs/fs-writeback.c:2243 wb_check_start_all fs/fs-writeback.c:2369 [inline] wb_do_writeback fs/fs-writeback.c:2395 [inline] wb_workfn+0x921/0xf10 fs/fs-writeback.c:2428 process_one_work kernel/workqueue.c:3314 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3397 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3478 kthread+0x389/0x470 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+0x6c1/0x720 fs/ext4/mballoc.c:4780 Code: e8 24 90 a4 ff 48 ba 00 00 00 00 00 fc ff df e9 da fa ff ff e8 00 aa 37 ff 90 0f 0b e8 f8 a9 37 ff 90 0f 0b e8 f0 a9 37 ff 90 <0f> 0b e8 e8 a9 37 ff 90 0f 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc900016be528 EFLAGS: 00010293 RAX: ffffffff828e1d20 RBX: 00000000ffffffca RCX: ffff888032aea540 RDX: 0000000000000000 RSI: 0000000000000054 RDI: 000000000000001e RBP: 1ffff11008d254b5 R08: ffff88804692eefb R09: 1ffff11008d25ddf R10: dffffc0000000000 R11: ffffed1008d25de0 R12: 0000000000000000 R13: 0000000000000054 R14: 1ffff11008d25de2 R15: ffff88804692ef10 FS: 0000000000000000(0000) GS:ffff88808c894000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bef1ee6b8 CR3: 000000003ee85000 CR4: 0000000000352ef0