ext4 filesystem being mounted at /root/syzkaller-testdir1774790035/syzkaller.7plMUl/0/file0 supports timestamps until 2038 (0x7fffffff) EXT4-fs error (device loop1) in ext4_do_update_inode:5534: error 27 EXT4-fs error (device loop1) in ext4_do_update_inode:5534: error 27 ------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1906 Comm: syz-executor.1 Tainted: G W 5.4.274-syzkaller-00002-g6f97bd951d82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2984 [inline] RIP: 0010:ext4_mb_find_by_goal+0xba1/0xbe0 fs/ext4/mballoc.c:1830 Code: fc ff ff 48 8b 4c 24 28 80 e1 07 80 c1 03 38 c1 0f 8c 22 fc ff ff 48 8b 7c 24 28 e8 99 74 c8 ff e9 13 fc ff ff e8 8f 8f 98 ff <0f> 0b e8 d8 44 6f ff e8 83 8f 98 ff 0f 0b e8 7c 8f 98 ff 0f 0b e8 RSP: 0018:ffff8881cd35e8e0 EFLAGS: 00010287 RAX: ffffffff81cbac91 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90001347000 RSI: 000000000000050b RDI: 000000000000050c RBP: ffff8881cd35e9f0 R08: ffffffff81cba211 R09: ffffed1039fb448e R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881cf9a13f0 R14: 0000000000000001 R15: 1ffff11039f3427e FS: 00007f5ff3d556c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5ff3d535f8 CR3: 00000001e57f6000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_regular_allocator+0x229/0x10d0 fs/ext4/mballoc.c:2132 ext4_mb_new_blocks+0x59a/0x2d10 fs/ext4/mballoc.c:4604 ext4_ext_map_blocks+0x1e70/0x7450 fs/ext4/extents.c:4511 ext4_map_blocks+0xa2f/0x1ba0 fs/ext4/inode.c:661 _ext4_get_block+0x21b/0x610 fs/ext4/inode.c:802 ext4_block_write_begin+0x68a/0x1390 fs/ext4/inode.c:1213 ext4_write_begin+0x5ba/0x1900 fs/ext4/inode.c:1351 ext4_da_write_begin+0x4a3/0xfe0 fs/ext4/inode.c:3110 generic_perform_write+0x2c7/0x560 mm/filemap.c:3450 __generic_file_write_iter+0x224/0x530 mm/filemap.c:3579 ext4_file_write_iter+0x499/0x10e0 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1989 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x5d3/0x750 fs/read_write.c:496 vfs_write+0x206/0x4e0 fs/read_write.c:558 ksys_write+0x199/0x2c0 fs/read_write.c:611 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f5ff49daf29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5ff3d550c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5ff4b11f80 RCX: 00007f5ff49daf29 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000009 RBP: 00007f5ff4a4a074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5ff4b11f80 R15: 00007ffe94414878 Modules linked in: ---[ end trace 444a43f94d76402f ]--- RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2984 [inline] RIP: 0010:ext4_mb_find_by_goal+0xba1/0xbe0 fs/ext4/mballoc.c:1830 Code: fc ff ff 48 8b 4c 24 28 80 e1 07 80 c1 03 38 c1 0f 8c 22 fc ff ff 48 8b 7c 24 28 e8 99 74 c8 ff e9 13 fc ff ff e8 8f 8f 98 ff <0f> 0b e8 d8 44 6f ff e8 83 8f 98 ff 0f 0b e8 7c 8f 98 ff 0f 0b e8 RSP: 0018:ffff8881cd35e8e0 EFLAGS: 00010287 RAX: ffffffff81cbac91 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90001347000 RSI: 000000000000050b RDI: 000000000000050c RBP: ffff8881cd35e9f0 R08: ffffffff81cba211 R09: ffffed1039fb448e R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881cf9a13f0 R14: 0000000000000001 R15