# CVE-2026-98505: mm/damon/vaddr: avoid hw-driven pte updates during damon\_hugetlb\_mkold()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-18T15:17:06.200Z
- **Modified:** 2026-11-23T08:17:27.037Z

## Who should check

- Anyone running Linux \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 54a13c4ba2e814687e3d6954aec75d68b88d03fb; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 7ed1062d154ec2401f2c894fd6858598bb1160b6; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 00457981327c80bcc56e07d4714fe189337a19fa; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< e59cb7eda7c06334a0faf5aa44adb6acf2a1287a; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 6e74ffc9ecf6ec24eee117150da78a1102be74c5; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 39c0ceedd54557bdc1542de08d22b2ed33e534e4
- Anyone running Linux 5.17

## 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.

## Affected and fixed versions

- Linux: \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 54a13c4ba2e814687e3d6954aec75d68b88d03fb; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 7ed1062d154ec2401f2c894fd6858598bb1160b6; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 00457981327c80bcc56e07d4714fe189337a19fa; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< e59cb7eda7c06334a0faf5aa44adb6acf2a1287a; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 6e74ffc9ecf6ec24eee117150da78a1102be74c5; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 39c0ceedd54557bdc1542de08d22b2ed33e534e4 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 39c0ceedd54557bdc1542de08d22b2ed33e534e4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98505. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98505.md
Affected: Linux >= 49f4203aae06ba9d67b500c90339b262b0a52637, < 54a13c4ba2e814687e3d6954aec75d68b88d03fb; >= 49f4203aae06ba9d67b500c90339b262b0a52637, < 7ed1062d154ec2401f2c894fd6858598bb1160b6; >= 49f4203aae06ba9d67b500c90339b262b0a52637, < 00457981327c80bcc56e07d4714fe189337a19fa; >= 49f4203aae06ba9d67b500c…
Fixed in: Linux 54a13c4ba2e814687e3d6954aec75d68b88d03fb, Linux 7ed1062d154ec2401f2c894fd6858598bb1160b6, Linux 00457981327c80bcc56e07d4714fe189337a19fa, Linux 6e74ffc9ecf6ec24eee117150da78a1102be74c5, Linux 39c0ceedd54557bdc1542de08d22b2ed33e534e4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98505 being exploited?

There is no confirmed exploitation: CVE-2026-98505 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98505?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98505?

Linux \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 54a13c4ba2e814687e3d6954aec75d68b88d03fb; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 7ed1062d154ec2401f2c894fd6858598bb1160b6; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 00457981327c80bcc56e07d4714fe189337a19fa; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< e59cb7eda7c06334a0faf5aa44adb6acf2a1287a; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 6e74ffc9ecf6ec24eee117150da78a1102be74c5; \>= 49f4203aae06ba9d67b500c90339b262b0a52637, \< 39c0ceedd54557bdc1542de08d22b2ed33e534e4; Linux 5.17.

### Is there a fix for CVE-2026-98505?

Yes. Fixed in Linux 54a13c4ba2e814687e3d6954aec75d68b88d03fb, Linux 7ed1062d154ec2401f2c894fd6858598bb1160b6, Linux 00457981327c80bcc56e07d4714fe189337a19fa, Linux 6e74ffc9ecf6ec24eee117150da78a1102be74c5, Linux 39c0ceedd54557bdc1542de08d22b2ed33e534e4. Upgrade Linux to 39c0ceedd54557bdc1542de08d22b2ed33e534e4 or later.

### How do I check if I'm affected by CVE-2026-98505?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/54a13c4ba2e814687e3d6954aec75d68b88d03fb>
- other: <https://git.kernel.org/stable/c/7ed1062d154ec2401f2c894fd6858598bb1160b6>
- other: <https://git.kernel.org/stable/c/00457981327c80bcc56e07d4714fe189337a19fa>
- other: <https://git.kernel.org/stable/c/e59cb7eda7c06334a0faf5aa44adb6acf2a1287a>
- other: <https://git.kernel.org/stable/c/6e74ffc9ecf6ec24eee117150da78a1102be74c5>
- other: <https://git.kernel.org/stable/c/39c0ceedd54557bdc1542de08d22b2ed33e534e4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98505>

HTML: <https://flawdb.com/CVE-2026-98505> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98505>
