CVE-2025-38133

HIGH

Linux Kernel 6.15-6.15.3 - Out-of-bounds Write in AD4858 Channel Pointer Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0015
EPSS Percentile 4.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (8)
linux/Kernel 6.15.0 - 6.15.3linux
Linux/Linux < 6.15
Linux/Linux 6.15
Linux/Linux 6.15.3 - 6.15.*
Linux/Linux 6.16
Linux/Linux 6250803fe2ec92be32a4df1c3a39c4a460d5bd58 - 499a8cee812588905cc940837e69918c1649a19e
Linux/Linux 6250803fe2ec92be32a4df1c3a39c4a460d5bd58 - 6c3b9e1167d072ce2d01cafec7866647cf8d3616
linux/linux_kernel 6.15 - 6.15.3
Published Jul 03, 2025
Tracked Since Feb 18, 2026