# CVE-2026-64502: iio: adc: ad\_sigma\_delta: fix clear\_pending\_event for registerless devices

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2026-07-25T08:51:57.477Z
- **Modified:** 2026-11-18T15:10:33.140Z

## Who should check

- Anyone running Linux \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 3394e0b3328422431cadaf314fa58d3717ed4936; \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 3bceb26dfaf7ba805b459e41c1d0ba916862dade; \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 91bc6767a4f55dc470d8a56b55b9f2ea09094efe
- Anyone running Linux 6.14

## Description

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

iio: adc: ad\_sigma\_delta: fix clear\_pending\_event for registerless devices

ad\_sigma\_delta\_clear\_pending\_event() falls through to the status register
read path for devices with has\_registers = false and no rdy\_gpiod. For
such devices, ad\_sd\_read\_reg() skips the address byte entirely and clocks
raw MISO bytes with no address phase — making it byte-for-byte identical
to reading conversion data. If a pending conversion result is present,
this partially consumes it and corrupts the data stream for the subsequent
ad\_sd\_read\_reg() call in ad\_sigma\_delta\_single\_conversion().

Furthermore, with num\_resetclks = 0 on these devices, data\_read\_len
evaluates to 0. If the clocked byte has bit 7 clear, pending\_event is set
and the code attempts memset(data + 2, 0xff, 0 - 1), overflowing to
SIZE\_MAX and corrupting the heap.

Fix by returning 0 immediately when neither rdy\_gpiod nor has\_registers
is set. This is safe for all current registerless devices: ad7191 and
ad7780 (with powerdown GPIO) are reset between conversions by CS
deassertion, so there is no stale result to drain; ad7780 (without
powerdown GPIO) and max11205 are continuously-converting and cycle ~DRDY
at the output data rate regardless of whether the previous result was
read, so the next falling edge fires naturally.

A future registerless device that holds ~DRDY asserted until data is read
would be broken by this early return and would require either
num\_resetclks set or a rdy-gpio.

The same heap corruption is reachable on any device with rdy\_gpiod set
but num\_resetclks = 0: if the GPIO indicates a pending event, the drain
path executes memset(data + 2, 0xff, 0 - 1) regardless of has\_registers.
Add an explicit data\_read\_len == 0 guard after the pending event check;
the stale result is then consumed by the first ad\_sd\_read\_reg() call in
ad\_sigma\_delta\_single\_conversion().

## Affected and fixed versions

- Linux: \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 3394e0b3328422431cadaf314fa58d3717ed4936; \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 3bceb26dfaf7ba805b459e41c1d0ba916862dade; \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 91bc6767a4f55dc470d8a56b55b9f2ea09094efe (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 91bc6767a4f55dc470d8a56b55b9f2ea09094efe or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64502. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64502.md
Affected: Linux >= 132d44dc6966c1cf841ffe0f6f048165687e870b, < 3394e0b3328422431cadaf314fa58d3717ed4936; >= 132d44dc6966c1cf841ffe0f6f048165687e870b, < 3bceb26dfaf7ba805b459e41c1d0ba916862dade; >= 132d44dc6966c1cf841ffe0f6f048165687e870b, < 91bc6767a4f55dc470d8a56b55b9f2ea09094efe; Linux 6.14
Fixed in: Linux 3394e0b3328422431cadaf314fa58d3717ed4936, Linux 3bceb26dfaf7ba805b459e41c1d0ba916862dade, Linux 91bc6767a4f55dc470d8a56b55b9f2ea09094efe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64502 being exploited?

There is no confirmed exploitation: CVE-2026-64502 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64502?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64502?

Linux \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 3394e0b3328422431cadaf314fa58d3717ed4936; \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 3bceb26dfaf7ba805b459e41c1d0ba916862dade; \>= 132d44dc6966c1cf841ffe0f6f048165687e870b, \< 91bc6767a4f55dc470d8a56b55b9f2ea09094efe; Linux 6.14.

### Is there a fix for CVE-2026-64502?

Yes. Fixed in Linux 3394e0b3328422431cadaf314fa58d3717ed4936, Linux 3bceb26dfaf7ba805b459e41c1d0ba916862dade, Linux 91bc6767a4f55dc470d8a56b55b9f2ea09094efe. Upgrade Linux to 91bc6767a4f55dc470d8a56b55b9f2ea09094efe or later.

### How do I check if I'm affected by CVE-2026-64502?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3394e0b3328422431cadaf314fa58d3717ed4936>
- patch: <https://git.kernel.org/stable/c/3bceb26dfaf7ba805b459e41c1d0ba916862dade>
- patch: <https://git.kernel.org/stable/c/91bc6767a4f55dc470d8a56b55b9f2ea09094efe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64502>

HTML: <https://flawdb.com/CVE-2026-64502> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64502>
