We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38133

iio: adc: ad4851: fix ad4858 chan pointer handling



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.

Reserved 2025-04-16 | Published 2025-07-03 | Updated 2025-07-03 | Assigner Linux

Product status

Default status
unaffected

6250803fe2ec92be32a4df1c3a39c4a460d5bd58 before 6c3b9e1167d072ce2d01cafec7866647cf8d3616
affected

6250803fe2ec92be32a4df1c3a39c4a460d5bd58 before 499a8cee812588905cc940837e69918c1649a19e
affected

Default status
affected

6.15
affected

Any version before 6.15
unaffected

6.15.3
unaffected

6.16-rc1
unaffected

References

git.kernel.org/...c/6c3b9e1167d072ce2d01cafec7866647cf8d3616

git.kernel.org/...c/499a8cee812588905cc940837e69918c1649a19e

cve.org (CVE-2025-38133)

nvd.nist.gov (CVE-2025-38133)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38133

Support options

Helpdesk Chat, Email, Knowledgebase