[PATCH v2 0/2] ext4: fix possible null pointer dereference in ext4_get_group_info

Baokun Li posted 2 patches 2 years, 8 months ago
fs/ext4/inode.c | 18 ++++++++----------
fs/ext4/super.c |  7 +++++--
2 files changed, 13 insertions(+), 12 deletions(-)
[PATCH v2 0/2] ext4: fix possible null pointer dereference in ext4_get_group_info
Posted by Baokun Li 2 years, 8 months ago
V1->V2:
	In PATCH 1/2, -EFSCORRUPTED instead of -ESTALE is returned for
	special inode errors, and extra parentheses are removed.

Baokun Li (2):
  ext4: fail ext4_iget if special inode unallocated
  ext4: update s_journal_inum if it changes after journal replay

 fs/ext4/inode.c | 18 ++++++++----------
 fs/ext4/super.c |  7 +++++--
 2 files changed, 13 insertions(+), 12 deletions(-)

-- 
2.31.1
Re: [PATCH v2 0/2] ext4: fix possible null pointer dereference in ext4_get_group_info
Posted by Theodore Ts'o 2 years, 6 months ago
On Sat, 7 Jan 2023 11:21:24 +0800, Baokun Li wrote:
> V1->V2:
> 	In PATCH 1/2, -EFSCORRUPTED instead of -ESTALE is returned for
> 	special inode errors, and extra parentheses are removed.
> 
> Baokun Li (2):
>   ext4: fail ext4_iget if special inode unallocated
>   ext4: update s_journal_inum if it changes after journal replay
> 
> [...]

Applied, thanks!

[1/2] ext4: fail ext4_iget if special inode unallocated
      commit: 5cd740287ae5e3f9d1c46f5bfe8778972fd6d3fe
[2/2] ext4: update s_journal_inum if it changes after journal replay
      commit: 3039d8b8692408438a618fac2776b629852663c3

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>