4.7medium
i2c: designware: amdisp: Fix resume-probe race condition issue
- Severity
- 4.7medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.09% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: i2c: designware: amdisp: Fix resume-probe race condition issue Identified resume-probe race condition in kernel v7.0 with the commit 38fa29b01a6a ("i2c: designware: Combine the init functions"),but this issue existed from the beginning though not detected. The amdisp i2c device requires ISP to be in power-on state for probe to succeed. To meet this requirement, this device is added to genpd to control ISP power using runtime PM. The pm_runtime_get_sync() called before i2c_dw_probe() triggers PM resume, which powers on ISP and also invokes the amdisp i2c runtime resume before the probe completes resulting in this race condition and a NULL dereferencing issue in v7.0 Fix this race condition by using the genpd APIs directly during probe: - Call dev_pm_genpd_resume() to Power ON ISP before probe - Call dev_pm_genpd_suspend() to Power OFF ISP after probe - Set the device to suspended state with pm_runtime_set_suspended() - Enable runtime PM only after the device is fully initialized
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d6263c468a761cd4c89887073614394ac48441e1 before 83bcea9da91965484df64a6492b89e65d41ab31c, from d6263c468a761cd4c89887073614394ac48441e1 before e81f0341754c309e33babea2821eda8f98f0b44c, from d6263c468a761cd4c89887073614394ac48441e1 before e2f1ada8e089dd5a331bcd8b88125ae2af8d188f, 6.16 Not affected: before 6.16, from 6.18.21 up to 6.18.*, from 6.19.11 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.16.1 before 6.18.21, from 6.19 before 6.19.11, 6.16, 7.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: i2c: designware: amdisp: Fix resume-probe race condition issue Identified resume-probe race condition in kernel v7.0 with the commit 38fa29b01a6a ("i2c: designware: Combine the init functions"),but this issue existed from the beginning though not detected. The amdisp i2c device requires ISP to be in power-on state for probe to succeed. To meet this requirement, this device is added to genpd to control ISP power using runtime PM. The pm_runtime_get_sync() called before i2c_dw_probe() triggers PM resume, which powers on ISP and also invokes the amdisp i2c runtime resume before the probe completes resulting in this race condition and a NULL dereferencing issue in v7.0 Fix this race condition by using the genpd APIs directly during probe: - Call dev_pm_genpd_resume() to Power ON ISP before probe - Call dev_pm_genpd_suspend() to Power OFF ISP after probe - Set the device to suspended state with pm_runtime_set_suspended() - Enable runtime PM only after the device is fully initialized
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i2c: designware: amdisp: Solución al problema de condición de carrera de reanudación-sonda Se identificó una condición de carrera de reanudación-sonda en el kernel v7.0 con el commit 38fa29b01a6a (’i2c: designware: Combine the init functions’), pero este problema existía desde el principio aunque no fue detectado. El dispositivo i2c amdisp requiere que el ISP esté en estado de encendido para que la sonda tenga éxito. Para cumplir con este requisito, este dispositivo se añade a genpd para controlar la energía del ISP utilizando PM en tiempo de ejecución. La llamada a pm_runtime_get_sync() antes de i2c_dw_probe() activa la reanudación de PM, lo que enciende el ISP y también invoca la reanudación en tiempo de ejecución del i2c amdisp antes de que la sonda se complete, resultando en esta condición de carrera y un problema de desreferenciación de NULL en v7.0. Se corrige esta condición de carrera utilizando las APIs de genpd directamente durante la sonda: - Llamar a dev_pm_genpd_resume() para Encender el ISP antes de la sonda - Llamar a dev_pm_genpd_suspend() para Apagar el ISP después de la sonda - Establecer el dispositivo en estado suspendido con pm_runtime_set_suspended() - Habilitar PM en tiempo de ejecución solo después de que el dispositivo esté completamente inicializado
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31572 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2026-31572 changed 2026-11-11 | Public domain |