CVE-2026-53386

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

Published Jul 19, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 that can corrupt kernel memory, potentially enabling local privilege escalation or a system crash. This flaw is classified as both CWE‑129 (Improper Restriction of Operations within the Bounds of a Memory Buffer) and CWE‑787 (Out‑of‑Bounds Write).

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.

Remediation

No solution or workaround provided in the CVE record.

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 August 12, 2026 at 09:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
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'}

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
Weaknesses
  • CWE-129

    Improper Validation of Array Index

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 4:50 AM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jul 19, 2026, 12:16 PM
Modified
Aug 17, 2026, 5:17 AM
Severity
Public date
Jul 19, 2026, 12:00 AM