# CVE-2025-39774: iio: adc: rzg2l_adc: Set driver data before enabling runtime PM

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2025-09-11T16:56:27.505Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: rzg2l_adc: Set driver data before enabling runtime PM

When stress-testing the system by repeatedly unbinding and binding the ADC
device in a loop, and the ADC is a supplier for another device (e.g., a
thermal hardware block that reads temperature through the ADC), it may
happen that the ADC device is runtime-resumed immediately after runtime PM
is enabled, triggered by its consumer. At this point, since drvdata is not
yet set and the driver's runtime PM callbacks rely on it, a crash can
occur. To avoid this, set drvdata just after it was allocated.

(As written by CVE List.)

## Affected

- Linux Linux: from 89ee8174e8c8db0efc75b26f2307114b38d61354 before e7ce902db071a7b3e696a43d6e14ca57360deee6; from 89ee8174e8c8db0efc75b26f2307114b38d61354 before c69e13965f26b8058f538ea8bdbd2d7718cf1fbe; 6.14 (not affected: before 6.14; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.14 before 6.16.4; 6.17

## References

- <https://git.kernel.org/stable/c/e7ce902db071a7b3e696a43d6e14ca57360deee6> (patch)
- <https://git.kernel.org/stable/c/c69e13965f26b8058f538ea8bdbd2d7718cf1fbe> (patch)

## Sources

- CVE List: [CVE-2025-39774](https://www.cve.org/CVERecord?id=CVE-2025-39774), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-39774](https://nvd.nist.gov/vuln/detail/CVE-2025-39774), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39774 · Whole record: https://cve.day/CVE-2025-39774.json · Rebuilt by cve.day 2026-11-25T22:59:04.560Z
