CVE-2025-38668

MEDIUM

Linux Kernel - NULL Pointer Dereference in Regulator Core Coupling Metadata

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: regulator: core: fix NULL dereference on unbind due to stale coupling data Failing to reset coupling_desc.n_coupled after freeing coupled_rdevs can lead to NULL pointer dereference when regulators are accessed post-unbind. This can happen during runtime PM or other regulator operations that rely on coupling metadata. For example, on ridesx4, unbinding the 'reg-dummy' platform device triggers a panic in regulator_lock_recursive() due to stale coupling state. Ensure n_coupled is set to 0 to prevent access to invalid pointers.

Scores

CVSS v3 5.5
EPSS 0.0003
EPSS Percentile 7.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (28)
debian/debian_linux 11.0
linux/Kernel 5.11.0 - 5.15.190linux
linux/Kernel 5.16.0 - 6.1.148linux
linux/Kernel 5.3.0 - 5.4.297linux
linux/Kernel 5.5.0 - 5.10.241linux
linux/Kernel 6.13.0 - 6.15.9linux
linux/Kernel 6.2.0 - 6.6.101linux
linux/Kernel 6.7.0 - 6.12.41linux
Linux/Linux < 5.3
Linux/Linux 5.10.241 - 5.10.*
... and 18 more
Published Aug 22, 2025
Tracked Since Feb 18, 2026