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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52584— spmi: mediatek: Fix UAF on device remove

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存在安全漏洞,该漏洞源于spmi mediatek 包含 UAF漏洞。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.56% · P45

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux b45b3ccef8c063d21eb746d85337eaf71f6b5f07< 521f28eedd6b14228c46e3b81e3bf9b90c2818d8 affected
b45b3ccef8c063d21eb746d85337eaf71f6b5f07< f8dcafcb54632536684336161da8bdd52120f95e affected
b45b3ccef8c063d21eb746d85337eaf71f6b5f07< 9a3881b1f07db1bb55cb0108e6f05cfd027eaf2e affected
b45b3ccef8c063d21eb746d85337eaf71f6b5f07< e821d50ab5b956ed0effa49faaf29912fd4106d9 affected
5.17 affected
< 5.17 unaffected
6.1.77≤ 6.1.* unaffected
6.6.16≤ 6.6.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52584

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
spmi: mediatek: Fix UAF on device remove
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: spmi: mediatek: Fix UAF on device remove The pmif driver data that contains the clocks is allocated along with spmi_controller. On device remove, spmi_controller will be freed first, and then devres , including the clocks, will be cleanup. This leads to UAF because putting the clocks will access the clocks in the pmif driver data, which is already freed along with spmi_controller. This can be reproduced by enabling DEBUG_TEST_DRIVER_REMOVE and building the kernel with KASAN. Fix the UAF issue by using unmanaged clk_bulk_get() and putting the clocks before freeing spmi_controller.
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存在安全漏洞,该漏洞源于spmi mediatek 包含 UAF漏洞。
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 b45b3ccef8c063d21eb746d85337eaf71f6b5f07 ~ 521f28eedd6b14228c46e3b81e3bf9b90c2818d8 -
Linux Linux 5.17 -

II. Public POCs for CVE-2023-52584

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

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

Other References for CVE-2023-52584 (4)

Same Patch Batch · Linux · 2024-03-06 · 27 CVEs total

CVE-2024-26623 7.8 HIGH pds_core: Prevent race issues involving the adminq
CVE-2023-52601 7.8 HIGH jfs: fix array-index-out-of-bounds in dbAdjTree
CVE-2023-52600 7.8 HIGH jfs: fix uaf in jfs_evict_inode
CVE-2023-52599 7.8 HIGH jfs: fix array-index-out-of-bounds in diNewExt
CVE-2023-52602 7.8 HIGH jfs: fix slab-out-of-bounds Read in dtSearch
CVE-2023-52603 7.8 HIGH UBSAN: array-index-out-of-bounds in dtSplitRoot
CVE-2023-52604 7.8 HIGH FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
CVE-2023-52606 7.8 HIGH powerpc/lib: Validate size for vector operations
CVE-2023-52591 7.8 HIGH reiserfs: Avoid touching renamed directory if parent does not change
CVE-2023-52590 7.8 HIGH ocfs2: Avoid touching renamed directory if parent does not change
CVE-2024-26625 7.8 HIGH llc: call sock_orphan() at release time
CVE-2023-52586 7.8 HIGH drm/msm/dpu: Add mutex lock in control vblank irq
CVE-2024-26626 7.5 HIGH ipmr: fix kernel panic when forwarding mcast packets
CVE-2023-52588 7.3 HIGH f2fs: fix to tag gcing flag on page during block migration
CVE-2023-52598 s390/ptrace: handle setting of fpc register correctly
CVE-2023-52607 powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
CVE-2024-26627 scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
CVE-2023-52583 ceph: fix deadlock or deadcode of misusing dget()
CVE-2023-52597 KVM: s390: fix setting of fpc register
CVE-2023-52596 sysctl: Fix out of bounds access for empty sysctl registers

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-52584

No comments yet


Leave a comment