Skip to main content

In the Linux kernel, the following vulnerability has been resolved: mm/damon/vaddr: avoid hw-driven pte updates during damon_hugetlb_mkold()… (CVE-2026-98505)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:51 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's memory management subsystem related to huge page table entry (PTE) updates has been resolved. The issue involves the damon_hugetlb_mkold() function, which updates page table entries without properly handling concurrent hardware-driven updates, potentially causing loss of hardware-updated bits such as dirty bits. The fix avoids parallel updates by clearing the page table entry atomically during read operations. Since hugetlbfs is an in-memory filesystem and huge pages cannot be reclaimed, no critical impact is expected. The vulnerability was discovered by Sashiko and has been addressed in the Linux kernel.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 20:33:43 UTC

Technical Analysis

The vulnerability in the Linux kernel affects the damon_hugetlb_mkold() function within the mm/damon/vaddr subsystem. This function reads a page table entry (PTE), unsets the accessed bit, and writes back the updated PTE. However, if hardware concurrently updates the same PTE (e.g., setting dirty bits), those hardware updates can be lost due to a race condition. The fix involves using huge_ptep_get_and_clear() to atomically clear the PTE when reading it, ensuring that any concurrent hardware updates trigger a page fault and are properly serialized with the kernel's update. Because hugetlbfs is an in-memory filesystem and huge pages are not reclaimable, the impact is limited. The issue was discovered by Sashiko and has been fixed in the Linux kernel.

Potential Impact

The vulnerability could cause loss of hardware-driven updates to page table entries, such as dirty bits, due to race conditions during concurrent updates by the kernel and hardware. However, since the affected subsystem deals with huge pages in an in-memory filesystem (hugetlbfs) where pages cannot be reclaimed, the impact is not considered critical or leading to system instability or data loss under normal conditions.

Mitigation Recommendations

A fix is available in the Linux kernel that addresses the race condition by atomically clearing the page table entry during read operations using huge_ptep_get_and_clear(). Users should update to the fixed Linux kernel version containing this patch. No additional mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-mr9h-5fpp-c352
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98505"]

Threat ID: 6ad520b02cdf04f656993ad8

Added to database: 10/18/2026, 19:40:32 UTC

Last enriched: 10/18/2026, 20:33:43 UTC

Last updated: 10/18/2026, 22:02:57 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses