CVE-2025-38025: iio: adc: ad7606: check for NULL before calling sw_mode_config()

Published Jun 18, 2025
·
Updated

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

iio: adc: ad7606: check for NULL before calling swmodeconfig()

Check that the swmodeconfig function pointer is not NULL before calling it. Not all buses define this callback, which resulted in a NULL pointer dereference.

Affected Software

6 affected components
Linux Linux kernel>=6.13<6.14.8
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel iio: adc: ad7606 code, check that the sw_mode_config function pointer is not NULL before calling sw_mode_config().

Event History

Jun 18, 2025
CVE Published
via MITRE·09:28 AM
Data Sourced
via MITRE·09:28 AM
Description
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the Linux kernel AD7606 IIO ADC driver on a bus implementation that does not define the sw_mode_config callback are exposed to the NULL pointer dereference condition.

2

What does an attacker need to exploit it?

The supplied CVSS vector indicates local access and low privileges are required, with no user interaction required. Successful exploitation can cause a denial of service through high availability impact.

3

Is a patch available?

Yes. The issue has been resolved by adding a NULL check before sw_mode_config is called; the provided stable kernel references identify patches containing the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203