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

From: rcampbell
Date: Mon Mar 18 2019 - 18:47:23 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.

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