PT-2026-162727
CVE-2026-138867
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
mm/memory: constrain generic access phys() to page boundary
This patch addresses an issue in generic access phys() where accessing
memory across page boundaries in PFNMAP VMAs assumes physical pages are
contiguous, which can lead to accessing unintended physical memory or
exceeding VMA boundaries.
generic access phys() improperly validates the memory access range: it
only validates the start address using follow pfnmap start() and passes
PAGE ALIGN(len + offset) to ioremap prot().
This poses two problems:
- In PFNMAP VMAs, consecutive virtual pages are not guaranteed to be physically contiguous, and individual PTEs may have different access permissions or writability.
- The mapping may cross VMA boundaries if len extends beyond vma->vm end.
Constrain the access in generic access phys() to at most the current page
boundary (PAGE SIZE - offset) and map only a single PAGE SIZE via
ioremap prot(). Since the caller access remote vm() already loops over
the requested length and handles partial transfers, it will naturally
iterate over the remaining pages.
Also add a missing (resource size t) cast during PFN re-validation to
avoid truncation on 32-bit PAE systems.
Found an issue in the description? Have something to add? Feel free to write us 👾