CVE Database›Document archive›CVE-2025-38133

CVE-2025-38133

kernel: iio: adc: ad4851: fix ad4858 chan pointer handling

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · July 3, 2025

Updated · October 30, 2026

Description

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

iio: adc: ad4851: fix ad4858 chan pointer handling

The pointer returned from ad4851_parse_channels_common() is incremented internally as each channel is populated. In ad4858_parse_channels(), the same pointer was further incremented while setting ext_scan_type fields for each channel. This resulted in indio_dev->channels being set to a pointer past the end of the allocated array, potentially causing memory corruption or undefined behavior.

Fix this by iterating over the channels using an explicit index instead of incrementing the pointer. This preserves the original base pointer and ensures all channel metadata is set correctly.

Statement

This vulnerability does not impact Red Hat Enterprise Linux because the vulnerable driver code is not present in supported Red Hat kernel releases. The underlying flaw stems from improper channel pointer handling during device initialization within the Analog Devices AD4858 ADC driver, which could trigger out-of-bounds memory access and system instability. Additionally, exploitation requires specialized industrial ADC hardware attached to the host system alongside local administrative access.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified