Re: [LTP] [PATCH v2] fsconfig: New case cover CVE-2022-0185

Cyril Hrubis
2023-02-09T14:52:16Z

Hi!
> I'd test all kernels and expect them to return EINVAL.
> Because 722d94847de29 was backported to 5.10.x and 5.4.x stable kernels.
> It'd be worth to check how it behaves on older stable (e.g. 4.19.x) and either
> raise .min_kernel lower than 5.4 if easily modified behavior for older kernels
> or ask for 5.4 otherwise. (I mean .min_kver = "5.17", is too aggressive).

As long as the backported fix causes fsopen() to return EINVAL we should
check for it as well.

--
Cyril Hrubis
chrubis@suse.cz