Linux kernel memory access in generic_access_phys()
- Exploited
- No known exploitation
- Fix
- Fixed in 3.3, 3.5, 3.11, 3.13, 3.15, and 2 more
- Who is exposed
- Not reported
Summary
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.
What to do
Upgrade to a fixed version: 3.3, 3.5, 3.11, 3.13, 3.15, or one of 2 more.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138867 (mm/memory: constrain generic_access_phys() to page boundary), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138867 (entry last updated 2026-11-30):
Affected:
- Linux Linux: from 3.2.69, fixed in 3.3; from 3.4.108, fixed in 3.5; from 3.10.72, fixed in 3.11; from 3.12.39, fixed in 3.13; from 3.14.36, fixed in 3.15; from 3.18.10, fixed in 3.19; from 3.19.2, fixed in 3.20
- Linux Linux: versions 4.0
Fixed versions: 3.3, 3.5, 3.11, 3.13, 3.15, 3.19, 3.20.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-138867 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138867 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138867
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138867"}.Affected versions
- Linux LinuxFrom 3.2.69 · fixed in 3.3; From 3.4.108 · fixed in 3.5; From 3.10.72 · fixed in 3.11; From 3.12.39 · fixed in 3.13; From 3.14.36 · fixed in 3.15; From 3.18.10 · fixed in 3.19; From 3.19.2 · fixed in 3.20
- Linux Linux4.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 75 if added to CISA KEV
- Would score about 70 if CISA's SSVC rates exploitation active
- Would score about 42 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 9
Questions about CVE-2026-138867
Is CVE-2026-138867 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-138867?
Linux: 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. Linux: version 4.0.
Source: cve.now feed data
How do I fix CVE-2026-138867?
Upgrade to a fixed version: 3.3, 3.5, 3.11, 3.13, 3.15, or one of 2 more.
Source: cve.now feed data
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.