Re: [PATCH -next] ext4: Fix access uninitialized 'retval' in kmmpd

From: Theodore Ts'o
Date: Fri Jul 23 2021 - 07:32:06 EST


On Tue, Jul 13, 2021 at 10:27:28AM +0800, Ye Bin wrote:
> If (!ext4_has_feature_mmp(sb)) then goto 'wait_to_exit' label, but
> retval not be uninitialized.
>
> Fixes: 61bb4a1c417e ("ext4: fix possible UAF when remounting r/o a mmp-protected file system")
> Signed-off-by: Ye Bin <yebin10@xxxxxxxxxx>

Thanks, applied with a slightly fixed up commit description.

- Ted