2022-02-17 09:28:28

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] mm: fix dereference a null pointer in migrate[_huge]_page_move_mapping()

On Thu, Feb 17, 2022 at 02:38:08PM +0800, liqiong wrote:
> Upstream has no this bug.

What do you mean by this?

confused,

greg k-h


2022-02-17 11:30:41

by David Hildenbrand

[permalink] [raw]
Subject: Re: [PATCH] mm: fix dereference a null pointer in migrate[_huge]_page_move_mapping()

On 17.02.22 08:29, Greg KH wrote:
> On Thu, Feb 17, 2022 at 02:38:08PM +0800, liqiong wrote:
>> Upstream has no this bug.
>
> What do you mean by this?
>
> confused,

Dito. If this is fixed upstream and broken in stable kernels, we'd want
either a backport of the relevant upstream fix, or if too complicated, a
stable-only fix.


--
Thanks,

David / dhildenb

2022-02-17 15:06:40

by Li Qiong

[permalink] [raw]
Subject: Re: [PATCH] mm: fix dereference a null pointer in migrate[_huge]_page_move_mapping()

Hi Greg,

Upstream replaces migrate_page_move_mapping() with folio_migrate_mapping(),
does not use radix tree any more. So, the upstream don't have the null
pointer bug.

We found and fix this bug on '4.19.191'.

在 2022/2/17 下午3:29, Greg KH 写道:
> On Thu, Feb 17, 2022 at 02:38:08PM +0800, liqiong wrote:
>> Upstream has no this bug.
> What do you mean by this?
>
> confused,
>
> greg k-h