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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 <94a138ce5baed8233c0d541fd14ac6d58bf1da8c | — |
| Linux | Linux | 3.18.10 <3.19 | — |
| Linux | Linux | 463fb5a2cc7013f50763ee2322fa724553150842 | — |
| Linux | Linux | 4.0 | — |
| Linux | Linux | 3.12.39 <3.13 | — |
| Linux | Linux | patch: 6.12.118 | — |
| Linux | Linux | 970970dcb4fca4fdcbb1b9bf4d7cd686796dc9d6 | — |
| Linux | Linux | 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 <14375f7daba0afb67c10d56e5f4af694ad18d928 | — |
| Linux | Linux | 3.10.72 <3.11 | — |
| Linux | Linux | c8d452410c798d28ac96c3716b011d3d6b5d3ade | — |
| Linux | Linux | patch: 5.15.226 | — |
| Linux | Linux | patch: 6.1.193 | — |
| Linux | Linux | 3.4.108 <3.5 | — |
| Linux | Linux | 9db79db105f2316229803a85eec7db665f7d276c | — |
| Linux | Linux | patch: 6.18.63 | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 <ae0298a5fbeff32951c0d31398ccec97ec6aa0ea | — |
| Linux | Linux | 6f5468a717c8f18e721dc9bc7f8d7ce41f22eb1a | — |
| Linux | Linux | 3.14.36 <3.15 | — |
| Linux | Linux | 3.19.2 <3.20 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 <f52d13f04994b2cbeba4a1d27cf16d6aaa89e3ba | — |
| Linux | Linux | 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 <eb4334c7cebb4812126bc5dbb8e91c4d63b3d784 | — |
| Linux | Linux | 9113c468b621ddb74f2395564720862faa3a083d | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 <defac975e1fbd1cae022bf26657299f87105fd9e | — |
| Linux | Linux | 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 <61b405ef3e35b5890365090ab6a377855e9a9b71 | — |
| Linux | Linux | 601391cbb6334533d6fde4e81f40b53b5f85d73b | — |
| Linux | Linux | 3.2.69 <3.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.118-1 | — |
| Debian 12 | linux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | linux +59 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +2 | No fix yet | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +21 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +12 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux +3 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
References
- 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