VDB

CVE-2025-38531

CVE-2025-38531 PUBLISHED

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

Reported by linux · Published August 16, 2025

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]

EPSS 0.20% · 9.7th percentile

Risk scores

EPSS Score
0.20%
9.7th percentile

Affected products

VendorProductVersions
LinuxLinux4dff754876959b3f3b354800089bc8aaa3ec1d95, 4dff754876959b3f3b354800089bc8aaa3ec1d95, 4dff754876959b3f3b354800089bc8aaa3ec1d95
LinuxLinux5.16, 0, 6.1.191
linuxlinux_kernel5.16, 5.16, 5.16
LinuxLinux4dff754876959b3f3b354800089bc8aaa3ec1d95, 4dff754876959b3f3b354800089bc8aaa3ec1d95, 4dff754876959b3f3b354800089bc8aaa3ec1d95

Timeline

  • Aug 16, 2025 EPSS Score (30 in total, the first dated here)
  • Aug 16, 2025 CVE Published
  • Oct 12, 2025 PoC Published (10 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (155 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (163 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38531
vulnetix vdb fixes CVE-2025-38531

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38531/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›