{"id":"CVE-2025-39774","aliases":["CVE-2025-39774"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: rzg2l_adc: Set driver data before enabling runtime PM","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: rzg2l_adc: Set driver data before enabling runtime PM\n\nWhen stress-testing the system by repeatedly unbinding and binding the ADC\ndevice in a loop, and the ADC is a supplier for another device (e.g., a\nthermal hardware block that reads temperature through the ADC), it may\nhappen that the ADC device is runtime-resumed immediately after runtime PM\nis enabled, triggered by its consumer. At this point, since drvdata is not\nyet set and the driver's runtime PM callbacks rely on it, a crash can\noccur. To avoid this, set drvdata just after it was allocated.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: rzg2l_adc: Set driver data before enabling runtime PM\n\nWhen stress-testing the system by repeatedly unbinding and binding the ADC\ndevice in a loop, and the ADC is a supplier for another device (e.g., a\nthermal hardware block that reads temperature through the ADC), it may\nhappen that the ADC device is runtime-resumed immediately after runtime PM\nis enabled, triggered by its consumer. At this point, since drvdata is not\nyet set and the driver's runtime PM callbacks rely on it, a crash can\noccur. To avoid this, set drvdata just after it was allocated.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niio: adc: rzg2l_adc: Establecer los datos del controlador antes de habilitar el PM en tiempo de ejecución\n\nAl realizar pruebas de estrés en el sistema desvinculando y vinculando repetidamente el dispositivo ADC en un bucle, y el ADC es un proveedor para otro dispositivo (por ejemplo, un bloque de hardware térmico que lee la temperatura a través del ADC), puede ocurrir que el dispositivo ADC se reanude en tiempo de ejecución inmediatamente después de que se habilite el PM en tiempo de ejecución, activado por su consumidor. En este punto, dado que drvdata aún no está establecido y las devoluciones de llamada de PM en tiempo de ejecución del controlador dependen de él, puede ocurrir un fallo. Para evitar esto, establezca drvdata justo después de que fuera asignado.","source":"nvd"}],"published":"2025-09-11T16:56:27.505Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"89ee8174e8c8db0efc75b26f2307114b38d61354","fixed":"e7ce902db071a7b3e696a43d6e14ca57360deee6","status":"affected"},{"type":"git","introduced":"89ee8174e8c8db0efc75b26f2307114b38d61354","fixed":"c69e13965f26b8058f538ea8bdbd2d7718cf1fbe","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.14","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e7ce902db071a7b3e696a43d6e14ca57360deee6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c69e13965f26b8058f538ea8bdbd2d7718cf1fbe","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39774","url":"https://www.cve.org/CVERecord?id=CVE-2025-39774","licence":"CVE Terms of Use","modified":"2026-05-11T21:36:00.218Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39774","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39774","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.560Z","epss":{"score":0.0013,"percentile":0.02865,"date":"2026-12-01T12:00:22.000Z"}}