Re: [RFC PATCH 1/1] x86/mm/pat: Clear VM_PAT if copy_p4d_range failed

From: mawupeng
Date: Thu Feb 23 2023 - 20:15:54 EST




On 2023/2/24 6:14, Andrew Morton wrote:
> On Fri, 17 Feb 2023 10:56:15 +0800 Wupeng Ma <mawupeng1@xxxxxxxxxx> wrote:
>
>> From: Ma Wupeng <mawupeng1@xxxxxxxxxx>
>>
>> x86/mm/pat: Clear VM_PAT if copy_p4d_range failed.
>>
>> Syzbot reports
>
> Thanks. It would be nice to have a Link: to this report - I cannot
> find that email anywhere :(

This WARN_ON_ONCE was originally reported by syz since v4.19[1] and we found that
this problem can be reproduced in v5.10 and the latest master.

[1]: https://syzkaller.appspot.com/bug?id=2ab293a84ed98e600f31dede8e082dc81be8a4fe

>
>