On Wed, 1 Jun 2022 17:27:17 +0800, Zhang Yi wrote: > We capture a NULL pointer issue when resizing a corrupt ext4 image which > is freshly clear resize_inode feature (not run e2fsck). It could be > simply reproduced by following steps. The problem is because of the > resize_inode feature was cleared, and it will convert the filesystem to > meta_bg mode in ext4_resize_fs(), but the es->s_reserved_gdt_blocks was > not reduced to zero, so could we mistakenly call reserve_backup_gdb() > and passing an uninitialized resize_inode to it when adding new group > descriptors. > > [...] Applied, thanks! [1/1] ext4: add reserved GDT blocks check commit: 7dc0ff3a33ea92cefaf032a6d0de9314a9a5fb20 Best regards, -- Theodore Ts'o <tytso@xxxxxxx>