---
id: "CVE-2026-98658"
kind: "vulnerability"
aliases: ["CVE-2026-98658"]
title: "Linux kernel: AW96103 proximity driver over-reads truncated firmware images"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["embedded", "iio", "linux-kernel", "runtime"]
not_affected_if: ["driver-not-built"]
published_at: "2026-10-18T16:17:19+00:00"
first_seen_at: "2026-10-23T21:57:16+00:00"
updated_at: "2026-10-25T05:19:32+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98658", "first_seen_at": "2026-10-23T21:57:16+00:00"}]
---

# Linux kernel: AW96103 proximity driver over-reads truncated firmware images

A firmware parser in the Linux kernel's aw96103 IIO proximity sensor driver trusts a length field in the firmware header, so a truncated image can make it read past its buffer. A length smaller than the four-byte count field also underflows into a very large value.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- unknown

## Fix

- Update to a Linux kernel release that includes the upstream fix titled 'iio: proximity: aw96103: validate firmware data length' (version unknown from sources).

## Timeline

- 2026-10-23T21:57:16+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-98658

## From the sources

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

iio: proximity: aw96103: validate firmware data length

The firmware parser reads a length from the binary header and then uses
it to walk six-byte register/value entries. A truncated firmware image
can make the parser read beyond the copied firmware buffer. A value
smaller than the four-byte count field also underflows, producing a very
large length.

Read the little-endian field with get_unaligned_le32(), as previously
proposed by David Lechner. Validate the header size, reject an
underflowed length, ensure the resulting payload is contained in the
firmware image, and require it to contain whole register/value entries.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
