Re: [PATCH v2] x86/mm: fix kern_addr_valid to cope with existing but not present entries

From: Borislav Petkov
Date: Wed Sep 08 2021 - 06:53:01 EST


On Wed, Sep 08, 2021 at 12:35:21PM +0200, Borislav Petkov wrote:
> So I did stare at this for a while, trying to make sense of it and David
> Hildenbrand asked for a Fixes: tag in v1 review and from doing a bit of
> git archeology I think it should be:
>
> c40a56a7818c ("x86/mm/init: Remove freed kernel image areas from alias mapping")
>
> because that thing added the clearing of the Present bit for the high
> kernel image mapping of those areas.
>
> Right?

Hmm, but that commit is in v4.19. Mike has added

Cc: <stable@xxxxxxxxxxxxxxx> # 4.4+

Mike, why 4.4 and newer?

Hmmm.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette