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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-48897— arm64/mm: fix incorrect file_map_count for invalid pmd

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 存在安全漏洞,该漏洞源于 arm64/mm 组件在处理无效pmd时存在文件映射计数问题。

AI Predicted 4.8 Difficulty: Moderate EPSS 0.21% · P10

Possible ATT&CK Techniques 1 AI

T1499.001 · OS Exhaustion Flood

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux 42b2547137f5c974bb1bfd657c869fe96b96d86f< 21e5eca0ac9046da9918a919bc92b7b5a78d27e7 affected
42b2547137f5c974bb1bfd657c869fe96b96d86f< 74c2f81054510d45b813548cb0a1c4ebf87cdd5f affected
5.19 affected
< 5.19 unaffected
6.1.7≤ 6.1.* unaffected
6.2≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-48897

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
arm64/mm: fix incorrect file_map_count for invalid pmd
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: arm64/mm: fix incorrect file_map_count for invalid pmd The page table check trigger BUG_ON() unexpectedly when split hugepage: ------------[ cut here ]------------ kernel BUG at mm/page_table_check.c:119! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 7 PID: 210 Comm: transhuge-stres Not tainted 6.1.0-rc3+ #748 Hardware name: linux,dummy-virt (DT) pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : page_table_check_set.isra.0+0x398/0x468 lr : page_table_check_set.isra.0+0x1c0/0x468 [...] Call trace: page_table_check_set.isra.0+0x398/0x468 __page_table_check_pte_set+0x160/0x1c0 __split_huge_pmd_locked+0x900/0x1648 __split_huge_pmd+0x28c/0x3b8 unmap_page_range+0x428/0x858 unmap_single_vma+0xf4/0x1c8 zap_page_range+0x2b0/0x410 madvise_vma_behavior+0xc44/0xe78 do_madvise+0x280/0x698 __arm64_sys_madvise+0x90/0xe8 invoke_syscall.constprop.0+0xdc/0x1d8 do_el0_svc+0xf4/0x3f8 el0_svc+0x58/0x120 el0t_64_sync_handler+0xb8/0xc0 el0t_64_sync+0x19c/0x1a0 [...] On arm64, pmd_leaf() will return true even if the pmd is invalid due to pmd_present_invalid() check. So in pmdp_invalidate() the file_map_count will not only decrease once but also increase once. Then in set_pte_at(), the file_map_count increase again, and so trigger BUG_ON() unexpectedly. Add !pmd_present_invalid() check in pmd_user_accessible_page() to fix the problem.
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 存在安全漏洞,该漏洞源于 arm64/mm 组件在处理无效pmd时存在文件映射计数问题。
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 42b2547137f5c974bb1bfd657c869fe96b96d86f ~ 21e5eca0ac9046da9918a919bc92b7b5a78d27e7 -
Linux Linux 5.19 -

II. Public POCs for CVE-2022-48897

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-48897

登录查看更多情报信息。

Other References for CVE-2022-48897 (1)

Same Patch Batch · Linux · 2024-08-21 · 68 CVEs total

CVE-2023-52910 8.8 HIGH iommu/iova: Fix alloc iova overflows issue
CVE-2024-43881 8.8 HIGH wifi: ath12k: change DMA direction while mapping reinjected packets
CVE-2022-48871 8.8 HIGH tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
CVE-2024-43878 8.1 HIGH xfrm: Fix input error path memory access
CVE-2022-48883 7.8 HIGH net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent
CVE-2024-43882 7.8 HIGH exec: Fix ToCToU between perm check and set-uid/gid usage
CVE-2024-43880 7.8 HIGH mlxsw: spectrum_acl_erp: Fix object nesting warning
CVE-2022-48892 7.8 HIGH sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
CVE-2024-43877 7.8 HIGH media: pci: ivtv: Add check for DMA map result
CVE-2023-52913 7.8 HIGH drm/i915: Fix potential context UAFs
CVE-2022-48899 7.8 HIGH drm/virtio: Fix GEM handle creation UAF
CVE-2022-48872 7.8 HIGH misc: fastrpc: Fix use-after-free race condition for maps
CVE-2022-48873 7.8 HIGH misc: fastrpc: Don't remove map on creater_process and device_release
CVE-2022-48874 7.8 HIGH misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
CVE-2023-52903 7.8 HIGH io_uring: lock overflowing for IOPOLL
CVE-2022-48887 7.8 HIGH drm/vmwgfx: Remove rcu locks from user resources
CVE-2022-48878 7.8 HIGH Bluetooth: hci_qca: Fix driver shutdown on closed serdev
CVE-2023-52907 7.8 HIGH nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
CVE-2023-52909 7.5 HIGH nfsd: fix handling of cached open files in nfsd4_open codepath
CVE-2024-43872 7.5 HIGH RDMA/hns: Fix soft lockup under heavy CEQE load

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-48897

No comments yet


Leave a comment