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

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2023-53658— spi: bcm-qspi: return error if neither hif_mspi nor mspi is available

AI Predicted 6.5 Difficulty: Moderate EPSS 0.02% · P4

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinuxfa236a7ef24048bafaeed13f68df35a819794758< a91c34357afcfaa5307e254f22a8452550a07b34affected
fa236a7ef24048bafaeed13f68df35a819794758< d20db3c58a7f9361e370a7850ceb60dbdf62eea3affected
fa236a7ef24048bafaeed13f68df35a819794758< 398e6a015877d44327f754aeb48ff3354945c78caffected
fa236a7ef24048bafaeed13f68df35a819794758< 32b9c8f7892c19f7f5c9fed5fb410b9fd5990bb6affected
fa236a7ef24048bafaeed13f68df35a819794758< 217b6ea8cf7b819477bca597a6ae2d43d38ba283affected
fa236a7ef24048bafaeed13f68df35a819794758< d3dcdb43c872a3b967345144151a2c9bb9124c9baffected
fa236a7ef24048bafaeed13f68df35a819794758< 22ae32d80ef590d12a2364e4621f90f7c58445c7affected
fa236a7ef24048bafaeed13f68df35a819794758< 7c1f23ad34fcdace50275a6aa1e1969b41c6233faffected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-53658

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
spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: spi: bcm-qspi: return error if neither hif_mspi nor mspi is available If neither a "hif_mspi" nor "mspi" resource is present, the driver will just early exit in probe but still return success. Apart from not doing anything meaningful, this would then also lead to a null pointer access on removal, as platform_get_drvdata() would return NULL, which it would then try to dereference when trying to unregister the spi master. Fix this by unconditionally calling devm_ioremap_resource(), as it can handle a NULL res and will then return a viable ERR_PTR() if we get one. The "return 0;" was previously a "goto qspi_resource_err;" where then ret was returned, but since ret was still initialized to 0 at this place this was a valid conversion in 63c5395bb7a9 ("spi: bcm-qspi: Fix use-after-free on unbind"). The issue was not introduced by this commit, only made more obvious.
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存在安全漏洞,该漏洞源于未检查hif_mspi和mspi资源可用性,可能导致空指针取消引用。
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 fa236a7ef24048bafaeed13f68df35a819794758 ~ a91c34357afcfaa5307e254f22a8452550a07b34 -
LinuxLinux 4.9 -

II. Public POCs for CVE-2023-53658

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-53658

登录查看更多情报信息。

Patches & Fixes for CVE-2023-53658 (8)

Same Patch Batch · Linux · 2025-10-07 · 118 CVEs total

CVE-2022-50545r6040: Fix kmemleak in probe and remove
CVE-2023-53657ice: Don't tx before switchdev is fully configured
CVE-2023-53656drivers/perf: hisi: Don't migrate perf to the CPU going to teardown
CVE-2023-53655rcu: Avoid stack overflow due to __rcu_irq_enter_check_tick() being kprobe-ed
CVE-2022-50555tipc: fix a null-ptr-deref in tipc_topsrv_accept
CVE-2022-50554blk-mq: avoid double ->queue_rq() because of early timeout
CVE-2022-50553tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
CVE-2022-50552blk-mq: use quiesced elevator switch when reinitializing queues
CVE-2022-50551wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
CVE-2022-50550blk-iolatency: Fix memory leak on add_disk() failures
CVE-2022-50549dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
CVE-2022-50547media: solo6x10: fix possible memory leak in solo_sysfs_init()
CVE-2022-50548media: i2c: hi846: Fix memory leak in hi846_parse_dt()
CVE-2022-50546ext4: fix uninititialized value in 'ext4_evict_inode'
CVE-2022-50544usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
CVE-2023-53653media: amphion: fix REVERSE_INULL issues reported by coverity
CVE-2022-50536bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
CVE-2022-50535drm/amd/display: Fix potential null-deref in dm_resume
CVE-2023-53654octeontx2-af: Add validation before accessing cgx and lmac
CVE-2023-53651Input: exc3000 - properly stop timer on shutdown

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-53658

No comments yet


Leave a comment