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

iio: adc: ti-ads1298: add bounds check to pga_settings index

ads1298_pga_settings has 7 elements but ADS1298_MASK_CH_PGA can yield
values 0-7. If it yields a value >= 7, this causes an out-of-bounds
array access. Add a bounds check and return -EINVAL if the index
is out of range.

Note that the remaining value b111 is reserved so should not be seen
in a correctly functioning system.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux IIO driver for the Texas Instruments ADS1298 analog‑to‑digital converter contains an array bounds error. The pga_settings array holds seven entries, but the ADS1298_MASK_CH_PGA register can return values from 0 to 7. When a value of 7 is supplied, the driver accesses the array out of bounds, causing an uncontrolled memory write can corrupt kernel memory, potentially enabling local privilege escalation or a system crash. The vulnerability is classified as CWE‑787.

Affected Systems

All Linux kernel releases that include the ti-ads1298 driver before the patch commit. The affected kernel code is part of the "iio: adc" subsystem. No specific kernel version list is provided, so any kernel that has not applied the bounds check should be considered vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, but the EPSS score of less than 1% indicates an extremely low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the developer code only triggers the out‑of‑bounds access when the device reports a PGA value of 7, a condition that would normally be reserved register selection or inject commands into the device, which suggests a local attack scenario. However, because the driver runs in kernel space, a local exploit could result in privilege escalation to root or a system crash.

Generated by OpenCVE AI on July 30, 2026 at 22:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that incorporates the bounds check for the ADS1298 driver. The fix adds explicit validation of the pga_settings index and returns –EINVAL for out‑of‑range values.
  • If a kernel upgrade is not immediately possible, consider removing or disabling the ti‑ads1298 device from the system or restricting access to the driver by adjusting udev rules or kernel module parameters so that untrusted processes cannot interact with it.
  • Monitor dmesg and kernel logs for messages indicating out‑of‑bounds access or crashes that may be related to this driver, and apply the update as soon as it is available.

Generated by OpenCVE AI on July 30, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 00:15:00 +0000


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: add bounds check to pga_settings index ads1298_pga_settings has 7 elements but ADS1298_MASK_CH_PGA can yield values 0-7. If it yields a value >= 7, this causes an out-of-bounds array access. Add a bounds check and return -EINVAL if the index is out of range. Note that the remaining value b111 is reserved so should not be seen in a correctly functioning system.
Title iio: adc: ti-ads1298: add bounds check to pga_settings index
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:35:25.036Z

Reserved: 2026-06-09T07:44:35.402Z

Link: CVE-2026-53386

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-53386 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T22:45:03Z

Weaknesses