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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52935— mm/khugepaged: fix ->anon_vma race

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存在安全漏洞,该漏洞源于mm/khugepaged组件在释放pmd时未正确锁定anon_vma,可能导致竞争条件。

CVSS 7.8 · High EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux f3f0e1d2150b2b99da2cbdfaad000089efe9bf30< 352fbf61ce776fef18dca6a68680a6cd943dac95 affected
f3f0e1d2150b2b99da2cbdfaad000089efe9bf30< cee956ab1efbd858b4ca61c8b474af5aa24b29a6 affected
f3f0e1d2150b2b99da2cbdfaad000089efe9bf30< abdf3c33918185c3e8ffeb09ed3e334b3d7df47c affected
f3f0e1d2150b2b99da2cbdfaad000089efe9bf30< acb08187b5a83cdb9ac4112fae9e18cf983b0128 affected
f3f0e1d2150b2b99da2cbdfaad000089efe9bf30< 023f47a8250c6bdb4aebe744db4bf7f73414028b affected
4.8 affected
< 4.8 unaffected
5.4.299≤ 5.4.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52935

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/khugepaged: fix ->anon_vma race
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: fix ->anon_vma race If an ->anon_vma is attached to the VMA, collapse_and_free_pmd() requires it to be locked. Page table traversal is allowed under any one of the mmap lock, the anon_vma lock (if the VMA is associated with an anon_vma), and the mapping lock (if the VMA is associated with a mapping); and so to be able to remove page tables, we must hold all three of them. retract_page_tables() bails out if an ->anon_vma is attached, but does this check before holding the mmap lock (as the comment above the check explains). If we racily merged an existing ->anon_vma (shared with a child process) from a neighboring VMA, subsequent rmap traversals on pages belonging to the child will be able to see the page tables that we are concurrently removing while assuming that nothing else can access them. Repeat the ->anon_vma check once we hold the mmap lock to ensure that there really is no concurrent page table access. Hitting this bug causes a lockdep warning in collapse_and_free_pmd(), in the line "lockdep_assert_held_write(&vma->anon_vma->root->rwsem)". It can also lead to use-after-free access.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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存在安全漏洞,该漏洞源于mm/khugepaged组件在释放pmd时未正确锁定anon_vma,可能导致竞争条件。
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 f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 ~ 352fbf61ce776fef18dca6a68680a6cd943dac95 -
Linux Linux 4.8 -

II. Public POCs for CVE-2023-52935

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52935

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

Same Patch Batch · Linux · 2025-03-27 · 124 CVEs total

CVE-2023-53006 9.8 CRITICAL cifs: Fix oops due to uncleared server->smbd_conn in reconnect
CVE-2025-21876 8.8 HIGH iommu/vt-d: Fix suspicious RCU usage
CVE-2025-21890 8.2 HIGH idpf: fix checksums set in idpf_rx_rsc()
CVE-2022-49755 7.8 HIGH usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
CVE-2025-21887 7.8 HIGH ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up
CVE-2025-21889 7.8 HIGH perf/core: Add RCU read lock protection to perf_iterate_ctx()
CVE-2023-52930 7.8 HIGH drm/i915: Fix potential bit_17 double-free
CVE-2023-52931 7.8 HIGH drm/i915: Avoid potential vm use-after-free
CVE-2023-52934 7.8 HIGH mm/MADV_COLLAPSE: catch !none !huge !bad pmd lookups
CVE-2023-53009 7.8 HIGH drm/amdkfd: Add sync after creating vram bo
CVE-2023-52999 7.8 HIGH net: fix UaF in netns ops registration error path
CVE-2023-52973 7.8 HIGH vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
CVE-2023-52981 7.8 HIGH drm/i915: Fix request ref counting during error capture & debugfs dump
CVE-2023-52983 7.8 HIGH block, bfq: fix uaf for bfqq in bic_set_bfqq()
CVE-2023-52975 7.8 HIGH scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress
CVE-2023-52974 7.8 HIGH scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
CVE-2023-52987 7.8 HIGH ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
CVE-2025-21867 7.8 HIGH bpf, test_run: Fix use-after-free issue in eth_skb_pkt_type()
CVE-2023-52988 7.8 HIGH ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
CVE-2023-53033 7.8 HIGH netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

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

IV. Related Vulnerabilities