CVE-2025-38668

regulator: core: fix NULL dereference on unbind due to stale coupling data

No CVSS score yet EPSS 0.19%

Published 22 Aug 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-38668

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38668 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.62% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before 7574892e259bbb16262ebfb4b65a2054a5e03a49
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before 6c49eac796681e250e34156bafb643930310bd4a
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before ca9bef9ba1a6be640c87bf802d2e9e696021576a
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before 800a2cfb2df7f96b3fb48910fc595e0215f6b019
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before 233d3c54c9620e95193923859ea1d0b0f5d748ca
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before 5d4261dbb3335221fd9c6e69f909ba79ee6663a7
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before d7e59c5fd7a0f5e16e75a30a89ea2c4ab88612b8
affected from d8ca7d184b33af7913c244900df77c6cad6a5590, before ca46946a482238b0cdea459fb82fc837fb36260e
Other versions: unaffected
Linux
affected 5.3
unaffected before 5.3
unaffected from 5.4.297 up to and including 5.4.*
unaffected from 5.10.241 up to and including 5.10.*
unaffected from 5.15.190 up to and including 5.15.*
unaffected from 6.1.148 up to and including 6.1.*
unaffected from 6.6.101 up to and including 6.6.*
unaffected from 6.12.41 up to and including 6.12.*
unaffected from 6.15.9 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38668 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38668

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38668
trivy image --scanners vuln IMAGE | grep CVE-2025-38668

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38668 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.