[LTP] [PATCH] fsconfig03: Fix return value validation on older kernels
Petr Vorel
pvorel@suse.cz
Thu Mar 2 11:47:18 CET 2023
Hi Martin,
> On older kernels, Btrfs is not the only filesystem using the legacy
> fsconfig() handlers. Assume that fsconfig() is using legacy_parse_param()
> and allow it to return success regardless of filesystem up until the point
> where the legacy buffer would get full.
LGTM, thanks!
Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
> ---
> Tested on kernel 5.3 both with and without the CVE fix.
Obviously still works on new kernel as well (tested on 6.1.x).
Kind regards,
Petr
More information about the ltp
mailing list