[PATCH v2 0/1] x86/mm: Fix limit mmap() of /dev/mem to valid physical

From: rcampbell
Date: Mon Mar 25 2019 - 20:18:45 EST


From: Ralph Campbell <rcampbell@xxxxxxxxxx>

I was debugging with v5.1.0-rc1 and while booting I hit a
kernel BUG at arch/x86/mm/physaddr.c:27
which I fixed with the following patch but now I can't seem
to reproduce the exact setup that triggered it.
Still, it seems like a valid problem and maybe my difficulty
in reproducing it explains why others haven't seen it earlier.

Changes from v1 to v2:
* Updated the change log and patch as suggested by Thomas Gleixner.

Ralph Campbell (1):
x86/mm: Fix limit mmap() of /dev/mem to valid physical addresses

arch/x86/mm/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
2.20.1