Re: [PATCH 2/2] mm/mmap.c: do not allow mappings outside of allowed limits

From: Andrew Morton
Date: Mon Apr 20 2020 - 22:59:05 EST


On Mon, 23 Mar 2020 14:29:29 +0100 agordeev@xxxxxxxxxxxxx wrote:

> It is possible to request a fixed mapping address below
> mmap_min_addr and succeed. This update adds early checks
> of mmap_min_addr and mmap_end boundaries and fixes the
> above issue.

Does this solve any known problems? If not, what is the motivation for
the change?