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

Medium 5.5 Published Updated

A null pointer dereference in the RZ/G2L ADC driver can cause a kernel crash during device unbinding and binding cycles.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-39774?

CVE-2025-39774 is a medium-severity vulnerability in Linux kernel, published on 11 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2025-39774?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-39774?

Apply the vendor's patch.

Is CVE-2025-39774 being exploited?

There is no known exploitation of CVE-2025-39774 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-39774, DEBIAN-CVE-2025-39774, GHSA-cqc2-f63q-q48x, UBUNTU-CVE-2025-39774.

Is CVE-2025-39774 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free