CVEFinder.io

CVE-2025-38531

🔶 medium
Summary

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

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 Score
5.5
Medium
EPSS Score
0.2
Exploit Probability
Published Date
2025-08-16
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is Lower Risk - more severe than 31.3% of all 370,146 vulnerabilities in our database.

#254,452
Below average severity
Severity Percentile
Last Modified 2026-10-30
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE IDs (Weakness Types)

📦 Affected Products 3

🔗 References 5

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-98164 ⚠️ high 7.1 0.2 In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Check write tracking in all address s... 2026-09-29
CVE-2026-98163 ⚠️ high 7.8 0.1 In the Linux kernel, the following vulnerability has been resolved: cgroup: Avoid iteration of dying tasks with zero re... 2026-09-26
CVE-2026-98162 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: smb/server: fix tree connection leak in smb2_tree_c... 2026-09-25
CVE-2026-98161 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: nvdimm: pmem: keep PREFLUSH before data writes pme... 2026-09-25
CVE-2026-98160 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix mismatched free of HalData ... 2026-09-25
CVE-2026-100079 🔶 medium 5.5 0.1 In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: unregister debugfs entries on tea... 2026-09-25
These CVEs affect the same products