Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-38681— mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于内存热插拔锁处理不当,可能导致竞争条件和内存访问问题。

AI Predicted 4.4 Difficulty: Hard EPSS 0.13% · P2

Possible ATT&CK Techniques 1 AI

T1207 · Rogue Domain Controller

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< 3ee9a8c27bfd72c3f465004fa8455785d61be5e8 affected
bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< 69bea84b06b5e779627e7afdbf4b60a7d231c76f affected
bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< ac25ec5fa2bf6e606dc7954488e4dded272fa9cd affected
bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< 1636b5e9c3543b87d673e32a47e7c18698882425 affected
bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< ff40839e018b82c4d756d035f34a63aa2d93be83 affected
bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< 67995d4244694928ce701928e530b5b4adeb17b4 affected
bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< ca8c414499f2e5337a95a76be0d21b728ee31c6b affected
bbd6ec605c0fc286c3f8ce60b4ed44635361d58b< 59305202c67fea50378dcad0cc199dbc13a0e99a affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-38681

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于内存热插拔锁处理不当,可能导致竞争条件和内存访问问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux bbd6ec605c0fc286c3f8ce60b4ed44635361d58b ~ 3ee9a8c27bfd72c3f465004fa8455785d61be5e8 -
Linux Linux 5.7 -

II. Public POCs for CVE-2025-38681

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38681

请登录查看更多情报信息。

Same Patch Batch · Linux · 2025-09-04 · 52 CVEs total

CVE-2025-38708 9.8 CRITICAL drbd: add missing kref_get in handle_write_conflicts
CVE-2025-38724 9.8 CRITICAL nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
CVE-2025-38728 9.1 CRITICAL smb3: fix for slab out of bounds on mount to ksmbd
CVE-2025-38688 8.8 HIGH iommufd: Prevent ALIGN() overflow
CVE-2025-38697 7.8 HIGH jfs: upper bound check of tree index in dbAllocAG
CVE-2025-38722 7.8 HIGH habanalabs: fix UAF in export_dmabuf()
CVE-2025-38685 7.8 HIGH fbdev: Fix vmalloc out-of-bounds write in fast_imageblit
CVE-2025-38718 7.8 HIGH sctp: linearize cloned gso packets in sctp_rcv
CVE-2025-38717 7.8 HIGH net: kcm: Fix race condition in kcm_unattach()
CVE-2025-38715 7.8 HIGH hfs: fix slab-out-of-bounds in hfs_bnode_read()
CVE-2025-38710 7.8 HIGH gfs2: Validate i_depth for exhash directories
CVE-2025-38730 7.8 HIGH io_uring/net: commit partial buffers on retry
CVE-2025-38703 7.8 HIGH drm/xe: Make dma-fences compliant with the safe access rules
CVE-2025-38714 7.8 HIGH hfsplus: fix slab-out-of-bounds in hfsplus_bnode_read()
CVE-2025-38679 7.3 HIGH media: venus: Fix OOB read due to missing payload bound check
CVE-2025-38687 7.3 HIGH comedi: fix race between polling and detaching
CVE-2025-38713 7.1 HIGH hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
CVE-2025-38707 7.1 HIGH fs/ntfs3: Add sanity check for file name
CVE-2025-38682 i2c: core: Fix double-free of fwnode in i2c_unregister_device()
CVE-2025-38694 media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()

Showing top 20 of 52 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38681

No comments yet


Leave a comment