{"id":"CVE-2025-38531","aliases":["CVE-2025-38531"],"related":[],"kind":"vulnerability","state":"published","title":"iio: common: st_sensors: Fix use of uninitialize device structs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: common: st_sensors: Fix use of uninitialize device structs\n\nThroughout the various probe functions &indio_dev->dev is used before it\nis initialized. This caused a kernel panic in st_sensors_power_enable()\nwhen the call to devm_regulator_bulk_get_enable() fails and then calls\ndev_err_probe() with the uninitialized device.\n\nThis seems to only cause a panic with dev_err_probe(), dev_err(),\ndev_warn() and dev_info() don't seem to cause a panic, but are fixed\nas well.\n\nThe issue is reported and traced here: [1]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: common: st_sensors: Fix use of uninitialize device structs\n\nThroughout the various probe functions &indio_dev->dev is used before it\nis initialized. This caused a kernel panic in st_sensors_power_enable()\nwhen the call to devm_regulator_bulk_get_enable() fails and then calls\ndev_err_probe() with the uninitialized device.\n\nThis seems to only cause a panic with dev_err_probe(), dev_err(),\ndev_warn() and dev_info() don't seem to cause a panic, but are fixed\nas well.\n\nThe issue is reported and traced here: [1]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: common: st_sensors: Se corrige el uso de estructuras de dispositivo sin inicializar. En las diversas funciones de sondeo, se usa &amp;indio_dev-&gt;dev antes de su inicialización. Esto provocaba un pánico del kernel en st_sensors_power_enable() cuando la llamada a devm_regulator_bulk_get_enable() falla y luego se llama a dev_err_probe() con el dispositivo sin inicializar. Esto parece causar un pánico solo con dev_err_probe(); dev_err(), dev_warn() y dev_info() no parecen causarlo, pero también se han corregido. El problema se reporta y rastrea aquí: [1]","source":"nvd"}],"published":"2025-08-16T11:12:24.405Z","modified":"2026-10-30T13:18:05.647Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"4dff754876959b3f3b354800089bc8aaa3ec1d95","fixed":"1f88548ec8ade8538eb970e36ffe5049b89d86f7","status":"affected"},{"type":"git","introduced":"4dff754876959b3f3b354800089bc8aaa3ec1d95","fixed":"f9d4b618f1b9e6d760cc7c15052b92f7faf47201","status":"affected"},{"type":"git","introduced":"4dff754876959b3f3b354800089bc8aaa3ec1d95","fixed":"610615c9668037e3eca11132063b93b2d945af13","status":"affected"},{"type":"git","introduced":"4dff754876959b3f3b354800089bc8aaa3ec1d95","fixed":"3297a9016a45144883ec990bd4bd5b1d79cafb46","status":"affected"},{"type":"git","introduced":"4dff754876959b3f3b354800089bc8aaa3ec1d95","fixed":"9f92e93e257b33e73622640a9205f8642ec16ddd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.136","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.40","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.8","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.12.40"},{"status":"affected","introduced":"6.13","fixed":"6.15.8"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1f88548ec8ade8538eb970e36ffe5049b89d86f7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9d4b618f1b9e6d760cc7c15052b92f7faf47201","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/610615c9668037e3eca11132063b93b2d945af13","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3297a9016a45144883ec990bd4bd5b1d79cafb46","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f92e93e257b33e73622640a9205f8642ec16ddd","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38531","url":"https://www.cve.org/CVERecord?id=CVE-2025-38531","licence":"CVE Terms of Use","modified":"2026-10-30T12:22:01.935Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38531","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38531","licence":"Public domain","modified":"2026-10-30T13:18:05.647Z"}],"updatedAt":"2026-11-25T22:59:02.631Z","epss":{"score":0.0026,"percentile":0.10868,"date":"2026-11-30T12:00:22.000Z"}}