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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-45022— mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0

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/vmalloc组件存在页面映射问题。

CVSS 7.8 · High EPSS 0.23% · P13

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 11

VendorProduct Version RangeStatus
Linux Linux fe5c2bdcb14c8612eb5e7a09159801c7219e9ac4< fd1ffbb50ef4da5e1378a46616b6d7407dc795da affected
e9c3cda4d86e56bf7fe403729f38c4f0f65d3860< de7bad86345c43cd040ed43e20d9fad78a3ee59f affected
e9c3cda4d86e56bf7fe403729f38c4f0f65d3860< c91618816f4d21fc574d7577a37722adcd4075b2 affected
e9c3cda4d86e56bf7fe403729f38c4f0f65d3860< 61ebe5a747da649057c37be1c37eb934b4af79ca affected
6.1.95< 6.1.107 affected
6.3 affected
< 6.3 unaffected
6.1.107≤ 6.1.* unaffected
… +3 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-45022

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/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0 The __vmap_pages_range_noflush() assumes its argument pages** contains pages with the same page shift. However, since commit e9c3cda4d86e ("mm, vmalloc: fix high order __GFP_NOFAIL allocations"), if gfp_flags includes __GFP_NOFAIL with high order in vm_area_alloc_pages() and page allocation failed for high order, the pages** may contain two different page shifts (high order and order-0). This could lead __vmap_pages_range_noflush() to perform incorrect mappings, potentially resulting in memory corruption. Users might encounter this as follows (vmap_allow_huge = true, 2M is for PMD_SIZE): kvmalloc(2M, __GFP_NOFAIL|GFP_X) __vmalloc_node_range_noprof(vm_flags=VM_ALLOW_HUGE_VMAP) vm_area_alloc_pages(order=9) ---> order-9 allocation failed and fallback to order-0 vmap_pages_range() vmap_pages_range_noflush() __vmap_pages_range_noflush(page_shift = 21) ----> wrong mapping happens We can remove the fallback code because if a high-order allocation fails, __vmalloc_node_range_noprof() will retry with order-0. Therefore, it is unnecessary to fallback to order-0 here. Therefore, fix this by removing the fallback code.
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/vmalloc组件存在页面映射问题。
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 fe5c2bdcb14c8612eb5e7a09159801c7219e9ac4 ~ fd1ffbb50ef4da5e1378a46616b6d7407dc795da -
Linux Linux 6.3 -

II. Public POCs for CVE-2024-45022

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

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

Patches & Fixes for CVE-2024-45022 (4)

Same Patch Batch · Linux · 2024-09-11 · 23 CVEs total

CVE-2024-45030 9.8 CRITICAL igb: cope with large MAX_SKB_FRAGS
CVE-2024-45013 9.8 CRITICAL nvme: move stopping keep-alive into nvme_uninit_ctrl()
CVE-2024-45009 8.2 HIGH mptcp: pm: only decrement add_addr_accepted for MPJ req
CVE-2024-45019 7.8 HIGH net/mlx5e: Take state lock during tx timeout reporter
CVE-2024-45016 7.8 HIGH netem: fix return value if duplicate enqueue fails
CVE-2024-45017 7.8 HIGH net/mlx5: Fix IPsec RoCE MPV trace call
CVE-2024-45020 7.8 HIGH bpf: Fix a kernel verifier crash in stacksafe()
CVE-2024-45023 7.8 HIGH md/raid1: Fix data corruption for degraded array with slow disk
CVE-2024-45024 7.8 HIGH mm/hugetlb: fix hugetlb vs. core-mm PT locking
CVE-2024-45021 7.1 HIGH memcg_write_event_control(): fix a user-triggerable oops
CVE-2024-45026 7.0 HIGH s390/dasd: fix error recovery leading to data corruption on ESE devices
CVE-2024-46672 wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion
CVE-2024-45025 fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
CVE-2024-45018 netfilter: flowtable: initialise extack before use
CVE-2024-45027 usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()
CVE-2024-45014 s390/boot: Avoid possible physmem_info segment corruption
CVE-2024-45015 drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()
CVE-2024-45012 nouveau/firmware: use dma non-coherent allocator
CVE-2024-45029 i2c: tegra: Do not mark ACPI devices as irq safe
CVE-2024-45011 char: xillybus: Check USB endpoints when probing device

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-45022

No comments yet


Leave a comment