CVE-2025-38025Published Jun 18, 2025 · Jun 18Updated Oct 28
iio: adc: ad7606: check for NULL before calling sw_mode_config()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: ad7606: check for NULL before calling sw_mode_config()
Check that the sw_mode_config function pointer is not NULL before calling it. Not all buses define this callback, which resulted in a NULL pointer dereference.
From the CVE record · Linux
The Linux kernel’s ad7606 ADC driver can dereference a NULL function pointer when it calls sw_mode_config on a bus that does not define that callback. The input does not specify an attack path, authentication requirement, or user-interaction requirement.
Engineers running Linux kernels with the ad7606 ADC driver should check their versions; affected versions are not specified.