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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-39845— x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings()

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 5.5 Difficulty: Theoretical EPSS 0.16% · P5

Possible ATT&CK Techniques 1 AI

T1055 · Process Injection

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 8d400913c231bd1da74067255816453f96cd35b0< 744ff519c72de31344a627eaf9b24e9595aae554 affected
8d400913c231bd1da74067255816453f96cd35b0< 5f761d40ee95d2624f839c90ebeef2d5c55007f5 affected
8d400913c231bd1da74067255816453f96cd35b0< 26ff568f390a531d1bd792e49f1a401849921960 affected
8d400913c231bd1da74067255816453f96cd35b0< b7f4051dd3388edd30e9a6077c05c486aa31e0d4 affected
8d400913c231bd1da74067255816453f96cd35b0< 6bf9473727569e8283c1e2445c7ac42cf4fc9fa9 affected
8d400913c231bd1da74067255816453f96cd35b0< 6659d027998083fbb6d42a165b0c90dc2e8ba989 affected
5.13 affected
< 5.13 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-39845

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
x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings() Define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings() to ensure page tables are properly synchronized when calling p*d_populate_kernel(). For 5-level paging, synchronization is performed via pgd_populate_kernel(). In 4-level paging, pgd_populate() is a no-op, so synchronization is instead performed at the P4D level via p4d_populate_kernel(). This fixes intermittent boot failures on systems using 4-level paging and a large amount of persistent memory: BUG: unable to handle page fault for address: ffffe70000000034 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: 0002 [#1] SMP NOPTI RIP: 0010:__init_single_page+0x9/0x6d Call Trace: <TASK> __init_zone_device_page+0x17/0x5d memmap_init_zone_device+0x154/0x1bb pagemap_range+0x2e0/0x40f memremap_pages+0x10b/0x2f0 devm_memremap_pages+0x1e/0x60 dev_dax_probe+0xce/0x2ec [device_dax] dax_bus_probe+0x6d/0xc9 [... snip ...] </TASK> It also fixes a crash in vmemmap_set_pmd() caused by accessing vmemmap before sync_global_pgds() [1]: BUG: unable to handle page fault for address: ffffeb3ff1200000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: Oops: 0002 [#1] PREEMPT SMP NOPTI Tainted: [W]=WARN RIP: 0010:vmemmap_set_pmd+0xff/0x230 <TASK> vmemmap_populate_hugepages+0x176/0x180 vmemmap_populate+0x34/0x80 __populate_section_memmap+0x41/0x90 sparse_add_section+0x121/0x3e0 __add_pages+0xba/0x150 add_pages+0x1d/0x70 memremap_pages+0x3dc/0x810 devm_memremap_pages+0x1c/0x60 xe_devm_add+0x8b/0x100 [xe] xe_tile_init_noalloc+0x6a/0x70 [xe] xe_device_probe+0x48c/0x740 [xe] [... snip ...]
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 8d400913c231bd1da74067255816453f96cd35b0 ~ 744ff519c72de31344a627eaf9b24e9595aae554 -
Linux Linux 5.13 -

II. Public POCs for CVE-2025-39845

# 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-39845

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

Same Patch Batch · Linux · 2025-09-19 · 30 CVEs total

CVE-2025-39841 9.8 CRITICAL scsi: lpfc: Fix buffer free/clear order in deferred receive path
CVE-2025-39864 8.8 HIGH wifi: cfg80211: fix use-after-free in cmp_bss()
CVE-2025-39862 8.8 HIGH wifi: mt76: mt7915: fix list corruption after hardware restart
CVE-2025-39839 8.8 HIGH batman-adv: fix OOB read/write in network-coding decode
CVE-2025-39848 8.8 HIGH ax25: properly unshare skbs in ax25_kiss_rcv()
CVE-2025-39849 8.8 HIGH wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result()
CVE-2025-39860 8.0 HIGH Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()
CVE-2025-39837 7.8 HIGH platform/x86: asus-wmi: Fix racy registrations
CVE-2025-39863 7.8 HIGH wifi: brcmfmac: fix use-after-free when rescheduling brcmf_btcoex_info work
CVE-2025-39866 7.8 HIGH fs: writeback: fix use-after-free in __mark_inode_dirty()
CVE-2025-39854 7.8 HIGH ice: fix NULL access of tx->in_use in ice_ll_ts_intr
CVE-2025-39851 7.5 HIGH vxlan: Fix NPD when refreshing an FDB entry with a nexthop object
CVE-2025-39857 7.5 HIGH net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync()
CVE-2025-39840 7.1 HIGH audit: fix out-of-bounds read in audit_compare_dname_path()
CVE-2025-39846 pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()
CVE-2025-39865 tee: fix NULL pointer dereference in tee_shm_put
CVE-2025-39838 cifs: prevent NULL pointer dereference in UTF16 conversion
CVE-2025-39861 Bluetooth: vhci: Prevent use-after-free by removing debugfs files early
CVE-2025-39859 ptp: ocp: fix use-after-free bugs causing by ptp_ocp_watchdog
CVE-2025-39842 ocfs2: prevent release journal inode after journal shutdown

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-39845

No comments yet


Leave a comment