Cross-page access in Linux kernel generic_access_phys()
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 7 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
Linux kernel from 3.2.69 before 3.3, from 3.4.108 before 3.5, from 3.10.72 before 3.11, from 3.12.39 before 3.13, from 3.14.36 before 3.15, from 3.18.10 before 3.19, from 3.19.2 before 3.20, and from 4.0 are affected. The generic_access_phys() function checks only the start address and maps more than one page, although consecutive virtual pages in PFNMAP VMAs need not be physically contiguous. This can reach unintended physical memory or cross the VMA end.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.2.69 to before 3.3; 3.4.108 to before 3.5; 3.10.72 to before 3.11; 3.12.39 to before 3.13; 3.14.36 to before 3.15; 3.18.10 to before 3.19; 3.19.2 to before 3.20 | 3.3, 3.5, 3.11, 3.13, 3.15, 3.19, 3.20 | Patch available | CNA |
| Linux | Linux | 4.0 and later | 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 3.2.69 to before 3.3; 3.4.108 to before 3.5; 3.10.72 to before 3.11; 3.12.39 to before 3.13; 3.14.36 to before 3.15; 3.18.10 to before 3.19; 3.19.2 to before 3.20 Fixed in 3.3, 3.5, 3.11, 3.13, 3.15, 3.19, 3.20 Patch available CNA
- Linux VendorLinux Affected 4.0 and later Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Fixed Linux kernel versions are 3.3, 3.5, 3.11, 3.13, 3.15, 3.19, 3.20, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.63, 7.3.4 and 7.4-rc1. Red Hat has no fix plan available for Red Hat Enterprise Linux 6, 7, 8, 9 and 10 or Red Hat OpenShift Container Platform 4 and 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 3.3, 3.5, 3.11, 3.13, 3.15, 3.19, 3.20
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Timeline
- 2026-11-30 Threatist record created from CVE-2026-138867
- 2026-11-30 Alias added: GHSA-q75j-8gqj-rf9w
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 7
- https://git.kernel.org/stable/c/eb4334c7cebb4812126bc5dbb8e91c4d63b3d784
- https://git.kernel.org/stable/c/14375f7daba0afb67c10d56e5f4af694ad18d928
- https://git.kernel.org/stable/c/defac975e1fbd1cae022bf26657299f87105fd9e
- https://git.kernel.org/stable/c/f52d13f04994b2cbeba4a1d27cf16d6aaa89e3ba
- https://git.kernel.org/stable/c/61b405ef3e35b5890365090ab6a377855e9a9b71
- https://git.kernel.org/stable/c/94a138ce5baed8233c0d541fd14ac6d58bf1da8c
- https://git.kernel.org/stable/c/ae0298a5fbeff32951c0d31398ccec97ec6aa0ea
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-138867 · CVE Program
- CVE-2026-138867 · NVD
- GHSA-q75j-8gqj-rf9w · GitHub Advisory Database · CC BY 4.0
- CVE-2026-138867 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences