CVE-2025-38668: regulator: core: fix NULL dereference on unbind due to stale coupling data

Published Aug 22, 2025
·
Updated

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 couplingdesc.ncoupled after freeing coupledrdevs 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 regulatorlockrecursive() due to stale coupling state.

Ensure ncoupled is set to 0 to prevent access to invalid pointers.

Affected Software

16 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=5.3<5.4.297
Linux Linux kernel>=5.5<5.10.241
Linux Linux kernel>=5.11<5.15.190
Linux Linux kernel>=5.16<6.1.148
Linux Linux kernel>=6.2<6.6.101
Linux Linux kernel>=6.7<6.12.41
Linux Linux kernel>=6.13<6.15.9
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.96.2-2
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 kernel 6.6.96.2-1

Event History

Aug 22, 2025
CVE Published
via MITRE·04:02 PM
Data Sourced
via MITRE·04:02 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·10:04 PM
DescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Updated
via Microsoft·05:04 AM
DescriptionSeverity
Updated
via Microsoft·05:04 AM
SeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38668?

CVE-2025-38668 has a moderate severity level due to the potential for a NULL pointer dereference.

2

How do I fix CVE-2025-38668?

The fix for CVE-2025-38668 is to update to the latest version of the Linux kernel that includes the patch.

3

Which versions of the Linux kernel are affected by CVE-2025-38668?

CVE-2025-38668 affects various versions of the Linux kernel where the NULL dereference issue has not been addressed.

4

What causes the CVE-2025-38668 vulnerability?

CVE-2025-38668 is caused by failing to reset the coupling_desc.n_coupled after freeing coupled_rdevs.

5

Can CVE-2025-38668 lead to system crashes?

Yes, if exploited, CVE-2025-38668 can lead to system instability or crashes due to a NULL pointer dereference.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203