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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.01% · P2
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux f3f0e1d2150b2b99da2cbdfaad000089efe9bf30 ~ 352fbf61ce776fef18dca6a68680a6cd943dac95 -
LinuxLinux 4.8 -

II. Public POCs for CVE-2023-52935

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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-52982fscache: Use wait_on_bit() to wait for the freeing of relinquished volume
CVE-2023-52998net: fec: Use page_pool_put_full_page when freeing rx buffers
CVE-2023-52999net: fix UaF in netns ops registration error path
CVE-2023-52997ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
CVE-2023-52996ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
CVE-2023-52995riscv/kprobe: Fix instruction simulation of JALR
CVE-2023-52994acpi: Fix suspend with Xen PV
CVE-2023-52993x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
CVE-2023-52992bpf: Skip task with pid=1 in send_signal_common()
CVE-2023-52991net: fix NULL pointer in skb_segment_list
CVE-2023-52989firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
CVE-2023-52988ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
CVE-2023-52987ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
CVE-2023-52986bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener
CVE-2023-52985arm64: dts: imx8mm-verdin: Do not power down eth-phy
CVE-2023-52984net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
CVE-2023-52973vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
CVE-2022-49761btrfs: always report error in run_one_delayed_ref()
CVE-2022-49760mm/hugetlb: fix PTE marker handling in hugetlb_change_protection()
CVE-2023-52974scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-52935

No comments yet


Leave a comment