CVE-2025-39786 iio: adc: ad7173: fix channels index for syscalib_mode

High 7.8 Published Updated

An out-of-bounds access in the AD7173 ADC driver allows attackers to cause a denial of service or disclose sensitive kernel memory.

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-39786?

CVE-2025-39786 is a high-severity memory corruption 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: ad7173: fix channels index for syscalib_mode

Fix the index used to look up the channel when accessing the syscalib_mode attribute. The address field is a 0-based index (same as scan_index) that it used to access the channel in the ad7173_channels array throughout the driver. The channels field, on the other hand, may not match the address field depending on the channel configuration specified in the device tree and could result in an out-of-bounds access.

Weakness: CWE-125

Which versions are affected by CVE-2025-39786?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-39786?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-39786 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-39786, DEBIAN-CVE-2025-39786, GHSA-8rq5-mr4q-q969, UBUNTU-CVE-2025-39786.

Is CVE-2025-39786 in your software?

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

Check your SBOMs for free