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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-42234— mm: fix crashes from deferred split racing folio migration

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 模块中延迟分裂和大folio迁移之间的竞争条件,可能会导致崩溃。

CVSS 7.8 · High EPSS 0.19% · P9

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux 9bcef5973e31020e5aa8571eb994d67b77318356< fc7facce686b64201dbf0b9614cc1d0bfad70010 affected
9bcef5973e31020e5aa8571eb994d67b77318356< be9581ea8c058d81154251cb0695987098996cad affected
6.7 affected
< 6.7 unaffected
6.9.10≤ 6.9.* unaffected
6.10≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-42234

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: fix crashes from deferred split racing folio migration
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm: fix crashes from deferred split racing folio migration Even on 6.10-rc6, I've been seeing elusive "Bad page state"s (often on flags when freeing, yet the flags shown are not bad: PG_locked had been set and cleared??), and VM_BUG_ON_PAGE(page_ref_count(page) == 0)s from deferred_split_scan()'s folio_put(), and a variety of other BUG and WARN symptoms implying double free by deferred split and large folio migration. 6.7 commit 9bcef5973e31 ("mm: memcg: fix split queue list crash when large folio migration") was right to fix the memcg-dependent locking broken in 85ce2c517ade ("memcontrol: only transfer the memcg data for migration"), but missed a subtlety of deferred_split_scan(): it moves folios to its own local list to work on them without split_queue_lock, during which time folio->_deferred_list is not empty, but even the "right" lock does nothing to secure the folio and the list it is on. Fortunately, deferred_split_scan() is careful to use folio_try_get(): so folio_migrate_mapping() can avoid the race by folio_undo_large_rmappable() while the old folio's reference count is temporarily frozen to 0 - adding such a freeze in the !mapping case too (originally, folio lock and unmapping and no swap cache left an anon folio unreachable, so no freezing was needed there: but the deferred split queue offers a way to reach it).
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 模块中延迟分裂和大folio迁移之间的竞争条件,可能会导致崩溃。
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 9bcef5973e31020e5aa8571eb994d67b77318356 ~ fc7facce686b64201dbf0b9614cc1d0bfad70010 -
Linux Linux 6.7 -

II. Public POCs for CVE-2024-42234

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-42234

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

Same Patch Batch · Linux · 2024-08-07 · 19 CVEs total

CVE-2024-42232 9.8 CRITICAL libceph: fix race between delayed_work() and ceph_monc_stop()
CVE-2024-42249 7.8 HIGH spi: don't unoptimize message in spi_async()
CVE-2024-42233 7.8 HIGH filemap: replace pte_offset_map() with pte_offset_map_nolock()
CVE-2024-42235 7.8 HIGH s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()
CVE-2024-42236 7.8 HIGH usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
CVE-2024-42250 7.8 HIGH cachefiles: add missing lock protection when polling
CVE-2024-42247 7.5 HIGH wireguard: allowedips: avoid unaligned 64-bit memory accesses
CVE-2024-42242 mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE
CVE-2024-42237 firmware: cs_dsp: Validate payload length before processing block
CVE-2024-42238 firmware: cs_dsp: Return error if block header overflows file
CVE-2024-42239 bpf: Fail bpf_timer_cancel when callback is being cancelled
CVE-2024-42240 x86/bhi: Avoid warning in #DB handler due to BHI mitigation
CVE-2024-42241 mm/shmem: disable PMD-sized page cache if needed
CVE-2024-42244 USB: serial: mos7840: fix crash on resume
CVE-2024-42243 mm/filemap: make MAX_PAGECACHE_ORDER acceptable to xarray
CVE-2024-42245 Revert "sched/fair: Make sure to try to detach at least one movable task"
CVE-2024-42246 net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
CVE-2024-42248 tty: serial: ma35d1: Add a NULL check for of_node

IV. Related Vulnerabilities

V. Comments for CVE-2024-42234

No comments yet


Leave a comment