CVE-2025-38681mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()
Updated under an hour ago ()
Does this affect you?
It affects Linux and 6 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
In the Linux kernel, the following vulnerability has been resolved: mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd() Memory hot remove unmaps and tears down various kernel page table regions as required. The ptdump code can race with concurrent modifications of the kernel page tables. When leaf entries are modified concurrently, the dump code may log stale or inconsistent information for a VA range, but this is otherwise not harmful. But when intermediate levels of kernel page table are freed, the dump code will continue to use memory that has been freed and potentially reallocated for another purpose. In such cases, the ptdump code may dereference bogus addresses, leading to a number of potential problems. To avoid the above mentioned race condition, platforms such as arm64, riscv and s390 take memory hotplug lock, while dumping kernel page table via the sysfs interface /sys/kernel/debug/kernel_page_tables. Similar race condition exists while checking for pages that might have been marked W+X via /sys/kernel/debug/kernel_page_tables/check_wx_pages which in turn calls ptdump_check_wx(). Instead of solving this race condition again, let's just move the memory hotplug lock inside generic ptdump_check_wx() which will benefit both the scenarios. Drop get_online_mems() and put_online_mems() combination from all existing platform ptdump code paths.
- CVSS
- 4.7 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
Linux Linux linux:linux (from the name) | from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before 3ee9a8c27bfd72c3f465004fa8455785d61be5e8; from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before 69bea84b06b5e779627e7afdbf4b60a7d231c76f; from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before ac25ec5fa2bf6e606dc7954488e4dded272fa9cd; from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before 1636b5e9c3543b87d673e32a47e7c18698882425; from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before ff40839e018b82c4d756d035f34a63aa2d93be83; from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before 67995d4244694928ce701928e530b5b4adeb17b4; from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before ca8c414499f2e5337a95a76be0d21b728ee31c6b; from bbd6ec605c0fc286c3f8ce60b4ed44635361d58b before 59305202c67fea50378dcad0cc199dbc13a0e99a | CNA record |
Siemens SIMATIC CN 4100 siemens:simatic_cn_4100 (from the name) | before V5.0 | CISA ADP |
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP siemens:simatic_s7_1500_cpu_1518_4_pn_dp_mfp (from the name) | from V3.1.6 | CISA ADP |
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP siemens:simatic_s7_1500_cpu_1518f_4_pn_dp_mfp (from the name) | from V3.1.6 | CISA ADP |
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP siemens:siplus_s7_1500_cpu_1518_4_pn_dp_mfp (from the name) | from V3.1.6 | CISA ADP |
linux linux_kernel linux:linux_kernel | from 5.7 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.149; from 6.2 before 6.6.103; from 6.7 before 6.12.43; from 6.13 before 6.15.11; from 6.16 before 6.16.2 | NVD |
debian debian_linux debian:debian_linux | 11.0 | NVD |
References
- https://git.kernel.org/stable/c/3ee9a8c27bfd72c3f465004fa8455785d61be5e8patch
- https://git.kernel.org/stable/c/69bea84b06b5e779627e7afdbf4b60a7d231c76fpatch
- https://git.kernel.org/stable/c/ac25ec5fa2bf6e606dc7954488e4dded272fa9cdpatch
- https://git.kernel.org/stable/c/1636b5e9c3543b87d673e32a47e7c18698882425patch
- https://git.kernel.org/stable/c/ff40839e018b82c4d756d035f34a63aa2d93be83patch
- https://git.kernel.org/stable/c/67995d4244694928ce701928e530b5b4adeb17b4patch
- https://git.kernel.org/stable/c/ca8c414499f2e5337a95a76be0d21b728ee31c6bpatch
- https://git.kernel.org/stable/c/59305202c67fea50378dcad0cc199dbc13a0e99apatch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlthird-party-advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlthird-party-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.