VDB

CVE-2026-98505

CVE-2026-98505 PUBLISHED

mm/damon/vaddr: avoid hw-driven pte updates during damon_hugetlb_mkold()

Reported by linux · Published October 18, 2026

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.

EPSS 0.20% · 9.9th percentile

Risk scores

EPSS Score
0.20%
9.9th percentile

Affected products

VendorProductVersions
LinuxLinux49f4203aae06ba9d67b500c90339b262b0a52637, 49f4203aae06ba9d67b500c90339b262b0a52637, 49f4203aae06ba9d67b500c90339b262b0a52637
LinuxLinux5.17, 0, 6.6.160
linuxlinux_kernel5.17, 5.17, 5.17
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023perf6.180
amazon:2023kernel6.18-devel0
LinuxLinux7.2.9, 6.18.55, 6.12.112
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023perf6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.18.56-125.1640

…and 7 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98505
vulnetix vdb fixes CVE-2026-98505

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98505/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›