ext4 filesystem being mounted at /root/syzkaller.JsbQQu/24/file1 supports timestamps until 2038 (0x7fffffff) EXT4-fs error (device loop4): ext4_map_blocks:617: inode #3: block 9: comm syz.4.1747: lblock 0 mapped to illegal pblock 9 (length 1) EXT4-fs (loop4): Remounting filesystem read-only Quota error (device loop4): qtree_write_dquot: dquota write failed ------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6479 Comm: syz.4.1747 Tainted: G W 5.4.276-syzkaller-00020-g4275fce9fe94 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 89 74 c8 ff e9 13 fc ff ff e8 6f 8f 98 ff <0f> 0b e8 b8 44 6f ff e8 63 8f 98 ff 0f 0b e8 5c 8f 98 ff 0f 0b e8 RSP: 0018:ffff8881ea02f400 EFLAGS: 00010283 RAX: ffffffff81cba991 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc900047b9000 RSI: 0000000000020af6 RDI: 0000000000020af7 RBP: ffff8881ea02f510 R08: ffffffff81cb9f11 R09: ffffed103a30200b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e88ca3f0 R14: 0000000000000001 R15: 1ffff1103d11947e FS: 00007ff281f716c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002004007f CR3: 00000001e5c7c000 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_alloc_file_blocks+0x3b1/0xc20 fs/ext4/extents.c:4700 ext4_fallocate+0x3b5/0x570 fs/ext4/extents.c:4987 vfs_fallocate+0x551/0x6b0 fs/open.c:309 ksys_fallocate fs/open.c:332 [inline] __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0xb9/0x100 fs/open.c:338 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff282cefb99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff281f71048 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007ff282e7dfa0 RCX: 00007ff282cefb99 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007ff282d7077e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001a00 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff282e7dfa0 R15: 00007ffc000b13f8 Modules linked in: ---[ end trace ccc06a6f2398f299 ]--- 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 89 74 c8 ff e9 13 fc ff ff e8 6f 8f 98 ff <0f> 0b e8 b8 44 6f ff e8 63 8f 98 ff 0f 0b e8 5c 8f 98 ff 0f 0b e8 RSP: 0018:ffff8881ea02f400 EFLAGS: 00010283 RAX: ffffffff81cba991 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc900047b9000 RSI: 0000000000020af6 RDI: 0000000000020af7 RBP: ffff8881ea02f510 R08: ffffffff81cb9f11 R09: ffffed103a30200b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e88ca3f0 R14: 0000000000000001 R15: 1ffff1103d11947e FS: 00007ff281f716c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555eeb008 CR3: 00000001e5c7c000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400