CVE-2026-138867: Linux kernel · mm/memory: constrain generic_access_phys() to page boundary
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in f52d13f04994b2cbeba4a1d27cf16d6aaa89e3ba : update Linux kernel when convenient.
Data as of 30 Nov 2026, 13:46 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in f52d13f04994b2cbeba4a1d27cf16d6aaa89e3ba, eb4334c7cebb4812126bc5dbb8e91c4d63b3d784, defac975e1fbd1cae022bf26657299f87105fd9e +11
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
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.
References
- git.kernel.org/stable/c/eb4334c7cebb4812126bc5dbb8e91c4d63b3d784 (opens in a new tab)
- git.kernel.org/stable/c/14375f7daba0afb67c10d56e5f4af694ad18d928 (opens in a new tab)
- git.kernel.org/stable/c/defac975e1fbd1cae022bf26657299f87105fd9e (opens in a new tab)
- git.kernel.org/stable/c/f52d13f04994b2cbeba4a1d27cf16d6aaa89e3ba (opens in a new tab)
- git.kernel.org/stable/c/61b405ef3e35b5890365090ab6a377855e9a9b71 (opens in a new tab)
- git.kernel.org/stable/c/94a138ce5baed8233c0d541fd14ac6d58bf1da8c (opens in a new tab)
- git.kernel.org/stable/c/ae0298a5fbeff32951c0d31398ccec97ec6aa0ea (opens in a new tab)