PT-2026-162727
CVE-2026-138867
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾