CVE Catalog

CVE-2025-38133

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel's IIO ADC ad4851 driver, a pointer handling bug was found for the ad4858 variant. The pointer returned by ad4851_parse_channels_common() was incremented internally, and then incremented again in ad4858_parse_channels(), causing indio_dev->channels to point past the end of the allocated array.

Risk Assessment

This bug can lead to memory corruption or undefined behavior, potentially causing system crashes or enabling arbitrary code execution.

Recommendation

Update the Linux kernel to a version that includes the fix, which uses an explicit index for iterating over channels instead of incrementing the pointer.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS