CVE-2025-38648: Linux kernel · spi: stm32: Check for cfg availability in stm32_spi_probe
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 19 Nov 2026, 02:39 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to add the necessary NULL pointer check in stm32_spi_probe. Users should apply the official kernel updates that include this fix to mitigate the vulnerability.
Description
CVE-2025-38648 addresses a vulnerability in the Linux kernel's stm32 SPI driver where a NULL pointer dereference could occur due to missing checks for configuration data availability. The stm32_spi_probe function now verifies that the configuration pointer is not NULL before accessing its members, preventing potential system crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2025-38648 (opens in a new tab)
- git.kernel.org/stable/c/21f1c800f6620e43f31dfd76709dbac8ebaa5a16 (opens in a new tab)
- git.kernel.org/stable/c/3a571a8d52272cc26858ab1bc83d0f66e5dee938 (opens in a new tab)
- git.kernel.org/stable/c/6031a54f4eac921efe6122a561d44df89b37f2d4 (opens in a new tab)
- git.kernel.org/stable/c/a7645815edf4478f3258bb0db95a08986a77f5c0 (opens in a new tab)
- git.kernel.org/stable/c/cc063d23ad80ef7d201c41b2716b1bae7c662cf9 (opens in a new tab)