{"id":"CVE-2025-39774","summary":"iio: adc: rzg2l_adc: Set driver data before enabling runtime PM","details":"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.","modified":"2026-04-02T12:48:08.888649Z","published":"2025-09-11T16:56:27.505Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39774.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/c69e13965f26b8058f538ea8bdbd2d7718cf1fbe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7ce902db071a7b3e696a43d6e14ca57360deee6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39774.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39774"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"89ee8174e8c8db0efc75b26f2307114b38d61354"},{"fixed":"e7ce902db071a7b3e696a43d6e14ca57360deee6"},{"fixed":"c69e13965f26b8058f538ea8bdbd2d7718cf1fbe"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39774.json"}}],"schema_version":"1.7.5"}