Re: [PATCH 5.12 669/700] hugetlb: address ref count racing in prep_compound_gigantic_page

From: Mike Kravetz
Date: Tue Jul 13 2021 - 17:38:16 EST


On 7/11/21 11:12 PM, Greg Kroah-Hartman wrote:
> From: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
>
> [ Upstream commit 7118fc2906e2925d7edb5ed9c8a57f2a5f23b849 ]
>

Please do not add or the requisite patch to stable tree.

Although this is a real potential issue, it was only found during code
inspection. It has existed for more than 10 years and I am unaware of
anyone hitting this in actual use. In addition, this proposed fix will
likely be updated/simplified based on more discussions.
--
Mike Kravetz