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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.06% · P19
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: 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存在安全漏洞,该漏洞源于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

VendorProductAffected VersionsCPESubscribe
LinuxLinux b45b3ccef8c063d21eb746d85337eaf71f6b5f07 ~ 521f28eedd6b14228c46e3b81e3bf9b90c2818d8 -
LinuxLinux 5.17 -

II. Public POCs for CVE-2023-52584

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52584

登录查看更多情报信息。

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

CVE-2023-52598s390/ptrace: handle setting of fpc register correctly
CVE-2024-26627scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
CVE-2024-26626ipmr: fix kernel panic when forwarding mcast packets
CVE-2024-26625llc: call sock_orphan() at release time
CVE-2024-26623pds_core: Prevent race issues involving the adminq
CVE-2023-52607powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
CVE-2023-52606powerpc/lib: Validate size for vector operations
CVE-2023-52604FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
CVE-2023-52603UBSAN: array-index-out-of-bounds in dtSplitRoot
CVE-2023-52602jfs: fix slab-out-of-bounds Read in dtSearch
CVE-2023-52601jfs: fix array-index-out-of-bounds in dbAdjTree
CVE-2023-52600jfs: fix uaf in jfs_evict_inode
CVE-2023-52599jfs: fix array-index-out-of-bounds in diNewExt
CVE-2023-52583ceph: fix deadlock or deadcode of misusing dget()
CVE-2023-52597KVM: s390: fix setting of fpc register
CVE-2023-52596sysctl: Fix out of bounds access for empty sysctl registers
CVE-2023-52595wifi: rt2x00: restart beacon queue when hardware reset
CVE-2023-52594wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
CVE-2023-52593wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
CVE-2023-52591reiserfs: Avoid touching renamed directory if parent does not change

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-52584

No comments yet


Leave a comment