5.5

CVE-2025-38648: spi: stm32: Check for cfg availability in stm32_spi_probe

Analyzed
AliasesUBUNTU-CVE-2025-38648DEBIAN-CVE-2025-38648
Published 22-08-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-38648 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.17%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 29 · Related 27

Timeline

  1. 22-08-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: spi: stm32: Check for cfg availability in stm32_spi_probe The stm32_spi_probe function now includes a check to ensure that the pointer returned by of_device_get_match_data is not NULL before accessing its members. This resolves a warning where a potential NULL pointer dereference could occur when accessing cfg->has_device_mode. Before accessing the 'has_device_mode' member, we verify that 'cfg' is not NULL. If 'cfg' is NULL, an error message is logged. This change ensures that the driver does not attempt to access configuration data if it is not available, thus preventing a potential system crash due to a NULL pointer dereference.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.16% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu121 products
  • linux< 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ fee681646fc831b154619ac0261afedcc7e671e7, < 6031a54f4eac921efe6122a561d44df89b37f2d4 | ≥ fee681646fc831b154619ac0261afedcc7e671e7, < a7645815edf4478f3258bb0db95a08986a77f5c0 | ≥ fee681646fc831b154619ac0261afedcc7e671e7, < 3a571a8d52272cc26858ab1bc83d0f66e5dee938 | ≥ fee681646fc831b154619ac0261afedcc7e671e7, < cc063d23ad80ef7d201c41b2716b1bae7c662cf9 | ≥ fee681646fc831b154619ac0261afedcc7e671e7, < 21f1c800f6620e43f31dfd76709dbac8ebaa5a16 | 6.6
  • linux_kernel≥ 6.6, < 6.6.102 | ≥ 6.7, < 6.12.42 | ≥ 6.13, < 6.15.10 | ≥ 6.16, < 6.16.1
Debian1 product
  • linux< 6.12.43-1 | < 6.16.3-1

3 vendors · 124 products

References

32 links
Show all 32 references