Skip to content

x86/mm: Fix limit mmap() of /dev/mem to valid physical

[email protected] lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 0 repliesNew
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

* Updated the change log and patch as suggested by Thomas Gleixner.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1x86/mm: Fix limit mmap() of /dev/mem to valid physical addressesarch/x86/mm/mmap.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

From: Ralph Campbell <[email protected]>

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(-)
Signature · 1 line
2.20.1