CVE-2025-38531
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-16

Last updated on: 2026-04-27

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: iio: common: st_sensors: Fix use of uninitialize device structs Throughout the various probe functions &indio_dev->dev is used before it is initialized. This caused a kernel panic in st_sensors_power_enable() when the call to devm_regulator_bulk_get_enable() fails and then calls dev_err_probe() with the uninitialized device. This seems to only cause a panic with dev_err_probe(), dev_err(), dev_warn() and dev_info() don't seem to cause a panic, but are fixed as well. The issue is reported and traced here: [1]
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-16
Last Modified
2026-04-27
Generated
2026-05-06
AI Q&A
2025-08-16
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 8 associated CPEs
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 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-908 The product uses or accesses a resource that has not been initialized.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel involves the use of uninitialized device structures in the st_sensors driver. Specifically, the device structure (indio_dev->dev) is used before it is properly initialized in various probe functions. This leads to a kernel panic in the function st_sensors_power_enable() when devm_regulator_bulk_get_enable() fails and subsequently calls dev_err_probe() with the uninitialized device. The panic occurs only with dev_err_probe(), while other error logging functions like dev_err(), dev_warn(), and dev_info() do not cause a panic but were also fixed.


How can this vulnerability impact me? :

This vulnerability can cause a kernel panic, which results in the Linux system crashing or becoming unstable when the affected driver encounters an error condition. This can lead to denial of service, system downtime, and potential data loss or interruption of services relying on the affected hardware sensors.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart