CVE-2024-36943: fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan
In the Linux kernel, the following vulnerability has been resolved:
fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan
make_uffd_wp_pte() was previously doing:
pte = ptep_get(ptep);
ptep_modify_prot_start(ptep);
pte = pte_mkuffd_wp(pte);
ptep_modify_prot_commit(ptep, pte);
But if another thread accessed or dirtied the pte between the first 2
calls, this could lead to loss of that information. Since
ptep_modify_prot_start() gets and clears atomically, the following is the
correct pattern and prevents any possible race. Any access after the
first call would see an invalid pte and cause a fault:
pte = ptep_modify_prot_start(ptep);
pte = pte_mkuffd_wp(pte);
ptep_modify_prot_commit(ptep, pte);
Security readout for executives and security teams
Plain-English summary
A race in Linux memory-management code can discard page “recently accessed” or “modified” status while pagemap scanning applies userfaultfd write protection. A local, low-privileged process is the stated attack position. The supplied CVSS rates potential integrity and availability impact as high, but the sources do not describe demonstrated operational consequences.
Executive priority
Treat this as a high-priority kernel maintenance issue, especially on multi-user or locally shared systems. It is not supported as an active-exploitation emergency by the supplied evidence. Obtain distributor-specific version guidance, test updates, and deploy through normal expedited patching procedures.
Technical view
make_uffd_wp_pte() read a page-table entry before ptep_modify_prot_start() atomically cleared it. Concurrent access or dirtying during that gap could be overwritten when the stale entry was committed. The fix obtains and clears the entry atomically through ptep_modify_prot_start(), modifies it, then commits it.
Likely exposure
The bundle identifies Linux 6.7, 6.8.10, and 6.9-related entries as affected, but its flattened version encoding is ambiguous and includes “0.” Exposure requires a locally reachable vulnerable kernel path. Confirm exact affected and fixed package versions with each Linux distributor.
Exploitation context
The CVSS vector indicates local access, low complexity, low privileges, and no user interaction. CISA KEV status is false, and the supplied sources provide no evidence of active exploitation or a public exploit.
Researcher notes
The defect is a stale-PTE concurrency race involving preservation of young and dirty bits during userfaultfd write-protection handling. The CVSS asserts low confidentiality and high integrity and availability impact, but the bundle does not document a demonstrated impact chain, exploit, CWE, or reliable trigger conditions beyond the code race.
Mitigation direction
Install vendor kernel updates that incorporate one of the cited Linux stable fixes.
Check distribution advisories for fixed package versions applicable to every deployed kernel branch.
If updates must wait, reduce untrusted local access and monitor vendor guidance; no source-specific workaround is documented.
Validation and detection
Inventory running kernels and map versions against vendor advisories; the bundle’s affected-version encoding is ambiguous.
Confirm kernel source or package changelogs contain commit 74b3d66f91d9 or c70dce4982ce.
After updating and rebooting, verify each host runs the intended fixed vendor kernel.
Review hosts allowing low-privileged local workloads to reach pagemap or userfaultfd-related memory-management functionality.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-36943 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.