CVE-2025-38648
BaseFortify
Publication date: 2025-08-22
Last updated on: 2025-11-26
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) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| 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 involves the stm32_spi_probe function in the Linux kernel's SPI driver for STM32 devices. The function did not check if a configuration pointer (cfg) returned by of_device_get_match_data was NULL before accessing its members, specifically cfg->has_device_mode. This could lead to a NULL pointer dereference, potentially causing a system crash. The fix adds a check to ensure cfg is not NULL before accessing its members, and logs an error if it is NULL, preventing the crash.
How can this vulnerability impact me? :
If exploited, this vulnerability could cause a system crash due to a NULL pointer dereference in the STM32 SPI driver. This could lead to denial of service or instability in systems using the affected driver.