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

CVE-2025-38668
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected d8ca7d184b33af7913c244900df77c6cad6a5590 < 7574892e259bbb16262ebfb4b65a2054a5e03a49 ; affected d8ca7d184b33af7913c244900df77c6cad6a5590 < 6c49eac796681e250e34156bafb643930310bd4a ; affected d8ca7d184b33af7913c244900df77c6cad6a5590 < ca9bef9ba1a6be640c87bf802d2e9e696021576a ; affected d8ca7d184b33af7913c244900df77c6cad6a5590 < 800a2cfb2df7f96b3fb48910fc595e0215f6b019 ; affected d8ca7d184b33af7913c244900df77c6cad6a5590 < 233d3c54c9620e95193923859ea1d0b0f5d748ca ; affected d8ca7d184b33af7913c244900df77c6cad6a5590 < 5d4261dbb3335221fd9c6e69f909ba79ee6663a7
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.297 ≤ 5.4.* ; unaffected 5.10.241 ≤ 5.10.* ; unaffected 5.15.190 ≤ 5.15.* ; unaffected 6.1.148 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD