CVE-2024-36943
published high CVSS 3.1 · 7.3fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux52526ca7fdb905a768a93f8faa418e9b988fc34b to < 74b3d66f91d9f539f99faad74d796fa9a389a015 · 52526ca7fdb905a768a93f8faa418e9b988fc34b to < c70dce4982ce1718bf978a35f8e26160b82081f4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.8.10 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1011 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-host | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | noble | linux | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40 | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1012 | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-headers-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-headers-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40 | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-headers-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-image-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-image-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lib-rust-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-40 | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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);
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached only through the PAGEMAP_SCAN ioctl on /proc/<pid>/pagemap combined with a userfaultfd WP-async registration, both of which require local execution on the host. There is no network-facing consumer of this path. AC:L - The attacker owns both sides of the race — sibling threads continuously writing to the mapped range set the hardware A/D bits while another thread loops PAGEMAP_SCAN with PM_SCAN_WP_MATCHING over millions of PTEs per iteration, so a hit is effectively guaranteed and can be retried without limit. No condition depends on external state the attacker cannot influence. PR:L - Only an ordinary unprivileged local account is needed: pagemap_open() requires just PTRACE_MODE_READ (trivial for /proc/self), the PAGEMAP_SCAN ioctl has no capability check, and userfaultfd_syscall_allowed() unconditionally permits UFFD_USER_MODE_ONLY so even vm.unprivileged_userfaultfd=0 does not block UFFD_FEATURE_WP_ASYNC registration. All required Kconfig options (PROC_PAGE_MONITOR, PTE_MARKER_UFFD_WP) are default-y in distro kernels. UI:N - The attacker drives the ioctl and the racing writes entirely from its own threads with no victim action required; when targeting another mm the victim's pre-existing uffd-wp-async registration is passive state, not an interaction. S:U - The lost PTE bits corrupt memory managed by the same kernel that contains the flaw, with no crossing of a hypervisor, IOMMU, or sandbox boundary. This is the standard unchanged-scope case for a kernel memory-management defect. C:L - Discarding the dirty bit causes a page's rewritten contents to be dropped and the stale swap-slot contents to be resurrected, so data a process deliberately overwrote or scrubbed (keys, credentials) persists in memory and on the swap device instead of being erased. This is a bounded exposure of previously-written data rather than an arbitrary kernel read primitive. I:H - Loss of the dirty bit makes the kernel silently drop modified pages — swap-cached anonymous pages revert to stale contents and MADV_FREE pages are discarded to zeros via the try_to_unmap_one discard path — with no error to the application. The attacker can repeat this across an unbounded number of pages, including in another process's mm it can ptrace-read (e.g. a CRIU- or VMM-managed workload using uffd-wp-async dirty tracking), amounting to total loss of integrity of that memory. A:H - Pages silently reverting to stale swap contents or being zeroed out corrupts live program state and reliably renders the affected process — including a targeted uffd-wp-async user such as a checkpoint/restore agent or live-migration VMM and its guest — non-functional or crashed. The condition is repeatable at will by an unprivileged local user.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 52526ca7fdb905a768a93f8faa418e9b988fc34b to < 74b3d66f91d9f539f99faad74d796fa9a389a015 (affected · git)52526ca7fdb905a768a93f8faa418e9b988fc34b to < c70dce4982ce1718bf978a35f8e26160b82081f4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.8.10 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b651607e20ec346f1d0be437a0fa32ccc9ab3f33e71824efb8954a2def0575de
- Ingested
- 23 Sep 2026, 08:24:20 UTC
- Source record
- Official CVE record