CVE-2026-99924
mm: disallow ioremap'ing ordinary RAM in generic_access_phys()
Check your servers for CVE-2026-99924
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99924 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
mm: disallow ioremap'ing ordinary RAM in generic_access_phys()
generic_access_phys() can end up getting called on CoW PFNMAP mappings, resulting in it trying to ioremap anonymous folios, which especially the x86 code doesn't enjoy, and which is in general just odd/wrong.
E.g., with a CoW mapping of a PCI BAR:
ioremap on RAM at 0x0000000045623000 - 0x0000000045623fff WARNING: arch/x86/mm/ioremap.c:216 at __ioremap_caller.isra.0+0x4c2/0x5f0 Call Trace: generic_access_phys+0x130/0x4d0 mm/memory.c:7178 kernfs_vma_access+0x1ce/0x280 fs/kernfs/file.c:437 __access_remote_vm+0x58f/0x890 mm/memory.c:7256 mem_rw+0x2a1/0x670 fs/proc/base.c:912
But more generically, we should disallow access to anything that looks like ordinary RAM in the system: including allocating memory (e.g., alloc_pages) and mapping them in a VM_PFNMAP.
For pages with an online memmap, allow only pages marked as reserved (PageReserved). This also includes memblock allocations, however, distinguishing them from other MMIO is tricky, and nobody should really be mapping them in a PFNMAP (except someone abusing /dev/mem, which we do not care about).
So only allow access if there is no online memmap, or if the pages are marked reserved. Reject other pages with -EINVAL.
Note that, just like other pfn_to_online_page() users, we won't care about concurrent memory offlining; mapping memory that can concurrently get offlined is highly dubious.
Exploitation
EPSS 0.39%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 35.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before 745135bdd05d32717770cd110883f5e548dc53d5 affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before dc175f325ad7af6b0b080dbe42759a1ed216ee3c affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before 6afeab823170cb6fe74c0a6d1671a6a0bb7bc89a affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before 1c78ad240e7465eb926cb6150db78c22452e0e62 affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before 5ef17106397287d92ab1ad395140c8f74d0c26ed affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before e9d4d0f7d9ca54980fa989280ea75cbed3190c99 affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before 2e88c42d7d3e96dc23b3ac9eead173f3dff8f816 affected from 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc, before 4590752e20aa393cc0d4fe538c0747d14a98c97a
Other versions: unaffected
|
| Linux |
affected 2.6.27 unaffected before 2.6.27 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99924 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99924
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99924
trivy image --scanners vuln IMAGE | grep CVE-2026-99924
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/745135bdd05d32717770cd110883f5e548dc53d5 git.kernel.org
- https://git.kernel.org/stable/c/dc175f325ad7af6b0b080dbe42759a1ed216ee3c git.kernel.org
- https://git.kernel.org/stable/c/6afeab823170cb6fe74c0a6d1671a6a0bb7bc89a git.kernel.org
- https://git.kernel.org/stable/c/1c78ad240e7465eb926cb6150db78c22452e0e62 git.kernel.org
- https://git.kernel.org/stable/c/5ef17106397287d92ab1ad395140c8f74d0c26ed git.kernel.org
- https://git.kernel.org/stable/c/e9d4d0f7d9ca54980fa989280ea75cbed3190c99 git.kernel.org
- https://git.kernel.org/stable/c/2e88c42d7d3e96dc23b3ac9eead173f3dff8f816 git.kernel.org
- https://git.kernel.org/stable/c/4590752e20aa393cc0d4fe538c0747d14a98c97a git.kernel.org
Source: the record CVE-2026-99924 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse