CVE-2026-138867
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: 1. In PFNMAP VMAs, consecutive virtual pages are not guaranteed to be physically contiguous, and individual PTEs may have different access permissions or writability. 2. 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.
Affected versions
Linux kernel versions
3.2.69,
3.4.108,
3.10.72,
3.12.39,
3.14.36,
3.18.10,
3.19.2,
4.0
and later are affected. Fixed in
5.15.226,
6.1.193,
6.6.163,
6.12.118,
6.18.63,
7.3.4,
7.4-rc1
and their respective stable series.
References
7 totalFrequently asked questions
-
What is CVE-2026-138867?
CVE-2026-138867 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 3.2.69 onward and has been patched in 5.15.226, 6.1.193, 6.6.163 and others. CVE-2026-138867 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-138867?
Yes. CVE-2026-138867 has been patched. Fixed versions include 5.15.226, 6.1.193, 6.6.163 and others. If you are running Linux kernel 3.2.69 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-138867 actively exploited?
No. CVE-2026-138867 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.