CVE-2025-39786: iio: adc: ad7173: fix channels index for syscalib_mode
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.
Security readout for executives and security teams
Plain-English summary
A Linux driver for Analog Devices AD7173-family analog-to-digital converters can select the wrong channel when system calibration mode is accessed. Certain device-tree channel layouts may cause an out-of-bounds kernel access. Exploitation requires local, low-privileged access, but the supplied CVSS assessment indicates potentially serious confidentiality, integrity, and availability impact.
Executive priority
Prioritize affected embedded, industrial, or measurement systems where the ad7173 driver is active and local users are not fully trusted. Treat remediation as high priority, but scope first: this is not described as remotely exploitable, and the bundle provides no active-exploitation evidence.
Technical view
The ad7173 IIO ADC driver used the channels field to index ad7173_channels for syscalib_mode. That field can differ from the zero-based address and scan_index when channels are configured through the device tree. The resulting incorrect index may access memory outside the array. The referenced Linux stable commits correct the lookup index.
Likely exposure
Exposure is limited to Linux systems using the affected ad7173 ADC driver, a channel configuration where channels and address values differ, and access to syscalib_mode. Systems without this driver or relevant hardware configuration are unlikely to be exposed. The supplied version data is ambiguous, so distribution-specific advisories should determine affected builds.
Exploitation context
The CVSS vector describes a local, low-complexity attack requiring low privileges and no user interaction. The source bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or a public exploit. Practical reachability depends on the driver, device-tree configuration, and local access to the affected attribute.
Researcher notes
The vulnerable assumption is that channels can safely index ad7173_channels. The driver otherwise uses address as the zero-based channel index, while device-tree configuration can make channels diverge. Assessment should focus on reachable syscalib_mode paths and configurations producing that mismatch. The supplied affected-version representation is insufficient for a definitive version range.
Mitigation direction
Install a vendor kernel containing the referenced stable fix.
Backport the referenced index correction when vendor updates are unavailable.
Restrict local access to affected systems until remediation is complete.
Review Linux distribution guidance for precise affected and fixed package versions.
Validation and detection
Confirm whether the ad7173 IIO ADC driver is present and active.
Review device-tree channel configuration for differing channel and address indexes.
Determine whether untrusted local users can access syscalib_mode.
Verify the running kernel includes the referenced stable correction.
Use distribution advisories to confirm package-level remediation status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-39786 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.