CVE-2025-38133
iio: adc: ad4851: fix ad4858 chan pointer handling
Reported by linux · Published July 3, 2025
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.
EPSS 0.18% · 7.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 6c3b9e1167d072ce2d01cafec7866647cf8d3616, 499a8cee812588905cc940837e69918c1649a19e |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6250803fe2ec92be32a4df1c3a39c4a460d5bd58, 6250803fe2ec92be32a4df1c3a39c4a460d5bd58 |
| Linux | Linux | 6.15, 0, 6.15.3 |
| Linux | Linux | 6250803fe2ec92be32a4df1c3a39c4a460d5bd58, 6.16, 6.15 |
| linux | linux_kernel | 6.15, 6.15 |
Timeline
- Jul 2, 2025 CVE Published
- Jul 3, 2025 EPSS Score (30 in total, the first dated here)
- Nov 20, 2025 CVE Updated
- Jan 4, 2026 PoC Published
- Apr 29, 2026 Security Advisory (166 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
- Nov 1, 2026 Distribution Patch (153 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38133
vulnetix vdb fixes CVE-2025-38133
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38133/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart