Re: [RFC] IMA LSM based rule race condition issue on 4.19 LTS

Greg KH
2022-12-09T07:13:00Z

On Fri, Dec 09, 2022 at 03:00:35PM +0800, Guozihua (Scott) wrote:
> Hi community.
>
> Previously our team reported a race condition in IMA relates to LSM based
> rules which would case IMA to match files that should be filtered out under
> normal condition. The issue was originally analyzed and fixed on mainstream.
> The patch and the discussion could be found here:
> https://lore.kernel.org/all/20220921125804.59490-1-guozihua@huawei.com/
>
> After that, we did a regression test on 4.19 LTS and the same issue arises.
> Further analysis reveled that the issue is from a completely different
> cause.

What commit in the tree fixed this in newer kernels? Why can't we just
backport that one to 4.19.y as well?

thanks,

greg k-h