CVE-2026-98505
mm/damon/vaddr: avoid hw-driven pte updates during damon_hugetlb_mkold()
Check your servers for CVE-2026-98505
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-98505 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/damon/vaddr: avoid hw-driven pte updates during damon_hugetlb_mkold()
damon_hugetlb_mkold() reads the page table entry into a local variable, unsets the accessed bit in the variable, and updates the page table entry with the updated variable value. If hardware updates the same page table entry in parallel, the hw updates could be lost. For example, hardware-updated dirty bits might be lost.
Avoid the parallel updates by clearing the page table entry when reading it together, using huge_ptep_get_and_clear(). If a parallel write to the memory is made after the clearing, the hw will see the page table entry is cleared, trigger page fault and wait until it is handled. The page fault handling will wait for damon_hugetlb_mkold() due to the page table lock.
Because hugetlbfs is an in-memory file system and hugetlb pages cannot be reclaimed, no critical issue is expected to my best knowledge. But definitely this is a nasty bug that should be fixed sooner rather than later.
The issue was discovered [1] by Sashiko.
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.87% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 49f4203aae06ba9d67b500c90339b262b0a52637, before 54a13c4ba2e814687e3d6954aec75d68b88d03fb affected from 49f4203aae06ba9d67b500c90339b262b0a52637, before 7ed1062d154ec2401f2c894fd6858598bb1160b6 affected from 49f4203aae06ba9d67b500c90339b262b0a52637, before 00457981327c80bcc56e07d4714fe189337a19fa affected from 49f4203aae06ba9d67b500c90339b262b0a52637, before e59cb7eda7c06334a0faf5aa44adb6acf2a1287a affected from 49f4203aae06ba9d67b500c90339b262b0a52637, before 6e74ffc9ecf6ec24eee117150da78a1102be74c5 affected from 49f4203aae06ba9d67b500c90339b262b0a52637, before 39c0ceedd54557bdc1542de08d22b2ed33e534e4
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.55 up to and including 6.18.* unaffected from 7.2.9 up to and including 7.2.* unaffected 7.3 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-98505 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98505
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-98505
trivy image --scanners vuln IMAGE | grep CVE-2026-98505
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/54a13c4ba2e814687e3d6954aec75d68b88d03fb git.kernel.org
- https://git.kernel.org/stable/c/7ed1062d154ec2401f2c894fd6858598bb1160b6 git.kernel.org
- https://git.kernel.org/stable/c/00457981327c80bcc56e07d4714fe189337a19fa git.kernel.org
- https://git.kernel.org/stable/c/e59cb7eda7c06334a0faf5aa44adb6acf2a1287a git.kernel.org
- https://git.kernel.org/stable/c/6e74ffc9ecf6ec24eee117150da78a1102be74c5 git.kernel.org
- https://git.kernel.org/stable/c/39c0ceedd54557bdc1542de08d22b2ed33e534e4 git.kernel.org
Source: the record CVE-2026-98505 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