CVE-2026-23100
mm/hugetlb: fix hugetlb_pmd_shared()
Check your servers for CVE-2026-23100
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-23100 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/hugetlb: fix hugetlb_pmd_shared()
Patch series "mm/hugetlb: fixes for PMD table sharing (incl. using mmu_gather)", v3.
One functional fix, one performance regression fix, and two related comment fixes.
I cleaned up my prototype I recently shared [1] for the performance fix, deferring most of the cleanups I had in the prototype to a later point. While doing that I identified the other things.
The goal of this patch set is to be backported to stable trees "fairly" easily. At least patch #1 and #4.
Patch #1 fixes hugetlb_pmd_shared() not detecting any sharing Patch #2 + #3 are simple comment fixes that patch #4 interacts with. Patch #4 is a fix for the reported performance regression due to excessive IPI broadcasts during fork()+exit().
The last patch is all about TLB flushes, IPIs and mmu_gather. Read: complicated
There are plenty of cleanups in the future to be had + one reasonable optimization on x86. But that's all out of scope for this series.
Runtime tested, with a focus on fixing the performance regression using the original reproducer [2] on x86.
This patch (of 4):
We switched from (wrongly) using the page count to an independent shared count. Now, shared page tables have a refcount of 1 (excluding speculative references) and instead use ptdesc->pt_share_count to identify sharing.
We didn't convert hugetlb_pmd_shared(), so right now, we would never detect a shared PMD table as such, because sharing/unsharing no longer touches the refcount of a PMD table.
Page migration, like mbind() or migrate_pages() would allow for migrating folios mapped into such shared PMD tables, even though the folios are not exclusive. In smaps we would account them as "private" although they are "shared", and we would be wrongly setting the PM_MMAP_EXCLUSIVE in the pagemap interface.
Fix it by properly using ptdesc_pmd_is_shared() in hugetlb_pmd_shared().
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.98% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 94b4b41d0cdf5cfd4d4325bc0e6e9e0d0e996133, before 8ae48255bcb17b32436be97553dca848730d365f affected from 8410996eb6fea116fe1483ed977aacf580eee7b4, before bf3c2affe245cf831866ddc8f736ae6a22cdc11c affected from 02333ac1c35370517a19a4a131332a9690c6a5c7, before 5b2aec77f92265a9028c5f632bdd9af5b57ec3a3 affected from 56b274473d6e7e7375f2d0a2b4aca11d67c6b52f, before 51dcf459845fd28f5a0d83d408a379b274ec5cc5 affected from 2e31443a0d18ae43b9d29e02bf0563f07772193d, before 3a18b452dd5f7f1652c2e92f8ae769aa17a66c9e affected from 59d9094df3d79443937add8700b2ef1a866b1081, before 69c4e241ff13545d410a8b2a688c932182a858bf affected from 59d9094df3d79443937add8700b2ef1a866b1081, before ca1a47cd3f5f4c46ca188b1c9a27af87d1ab2216 affected from 5.10.239, before 5.10.253 affected from 5.15.186, before 5.15.203 affected from 6.1.142, before 6.1.167 affected from 6.6.72, before 6.6.127 affected from 6.12.9, before 6.12.74
Other versions: unaffected
|
| Linux |
affected 6.13 unaffected before 6.13 unaffected from 5.10.253 up to and including 5.10.* unaffected from 5.15.203 up to and including 5.15.* unaffected from 6.1.167 up to and including 6.1.* unaffected from 6.6.127 up to and including 6.6.* unaffected from 6.12.74 up to and including 6.12.* unaffected from 6.18.8 up to and including 6.18.* unaffected 6.19 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-23100 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23100
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-23100
trivy image --scanners vuln IMAGE | grep CVE-2026-23100
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/8ae48255bcb17b32436be97553dca848730d365f git.kernel.org
- https://git.kernel.org/stable/c/bf3c2affe245cf831866ddc8f736ae6a22cdc11c git.kernel.org
- https://git.kernel.org/stable/c/5b2aec77f92265a9028c5f632bdd9af5b57ec3a3 git.kernel.org
- https://git.kernel.org/stable/c/51dcf459845fd28f5a0d83d408a379b274ec5cc5 git.kernel.org
- https://git.kernel.org/stable/c/3a18b452dd5f7f1652c2e92f8ae769aa17a66c9e git.kernel.org
- https://git.kernel.org/stable/c/69c4e241ff13545d410a8b2a688c932182a858bf git.kernel.org
- https://git.kernel.org/stable/c/ca1a47cd3f5f4c46ca188b1c9a27af87d1ab2216 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
Source: the record CVE-2026-23100 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