PT-2026-162727
CVE-2026-138867
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾