Skip to main content
Network Thinking Solutions Logo

CVE-2023-53658

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.

All CVEs
CVE-2023-53658Published 10/7/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
10/7/2025
Last modified
10/28/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.9, < 4.14.322

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.291

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.251

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.188

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.121

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.39

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.4.4

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < a91c34357afcfaa5307e254f22a8452550a07b34

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < d20db3c58a7f9361e370a7850ceb60dbdf62eea3

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < 398e6a015877d44327f754aeb48ff3354945c78c

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < 32b9c8f7892c19f7f5c9fed5fb410b9fd5990bb6

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < 217b6ea8cf7b819477bca597a6ae2d43d38ba283

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < d3dcdb43c872a3b967345144151a2c9bb9124c9b

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < 22ae32d80ef590d12a2364e4621f90f7c58445c7

Verify advisory

Source
Linux
Linux
≥ fa236a7ef24048bafaeed13f68df35a819794758, < 7c1f23ad34fcdace50275a6aa1e1969b41c6233f

Verify advisory

Source
Linux
Linux
4.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.