CVE-2023-53658
BaseFortify
Publication date: 2025-10-07
Last updated on: 2026-02-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's bcm-qspi SPI driver. If neither the 'hif_mspi' nor 'mspi' resource is available, the driver exits early during probe but incorrectly returns success. This leads to a null pointer dereference on removal because platform_get_drvdata() returns NULL, which the driver then tries to dereference when unregistering the SPI master. The fix involves always calling devm_ioremap_resource(), which safely handles NULL resources and returns an error pointer if needed, preventing the null pointer dereference.
How can this vulnerability impact me? :
This vulnerability can cause a null pointer dereference in the bcm-qspi driver, potentially leading to a kernel crash or system instability when the SPI master is removed. This could affect system reliability and availability, especially in systems relying on this driver for SPI communication.