On Fri, 28 Mar 2025 11:54:52 +0530, Ojaswin Mujoo wrote: > Block validity checks need to be skipped in case they are called > for journal blocks since they are part of system's protected > zone. > > Currently, this is done by checking inode->ino against > sbi->s_es->s_journal_inum, which is a direct read from the ext4 sb > buffer head. If someone modifies this underneath us then the > s_journal_inum field might get corrupted. To prevent against this, > change the check to directly compare the inode with journal->j_inode. > > [...] Applied, thanks! [1/1] ext4: Make block validity check resistent to sb bh corruption commit: ccad447a3d331a239477c281533bacb585b54a98 (Apologies for sending this late; I've been dealing with a family medical emergency. In any case, the patch landed in v6.16-rc2.) Best regards, -- Theodore Ts'o <tytso@xxxxxxx>