CVE-2025-38531

iio: common: st_sensors: Fix use of uninitialize device structs

published August 16, 2025

CVSS
—
EPSS
0%
Percentile
5.5
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00165 · 5.5th percentile
Published
2025-08-16T11:12Z
EPSS history
Timeline
  • 16 AUG 11:12Z
    iio: common: st_sensors: Fix use of uninitialize device structs
    cvelistv5