[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165552108974.634564.9535249162879745739.b4-ty@mit.edu>
Date: Fri, 17 Jun 2022 22:59:03 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org, Zhang Yi <yi.zhang@...wei.com>
Cc: "Theodore Ts'o" <tytso@....edu>, ritesh.list@...il.com,
yukuai3@...wei.com, jack@...e.cz, adilger.kernel@...ger.ca
Subject: Re: [PATCH v2] ext4: add reserved GDT blocks check
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@....edu>
Powered by blists - more mailing lists