CVE-2026-98658

iio: proximity: aw96103: validate firmware data length

Published Oct 18, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The aw96103 IIO driver in the Linux kernel parses a firmware header that defines the length of the binary payload. If a firmware image is truncated or the length field contains an underflow, the driver reads beyond the end of the copied buffer, producing an out‑of‑bounds read that can expose kernel memory. This behaviour can be exploited to obtain sensitive data from the kernel space.

Affected Systems

Any Linux kernel that ships the aw96103 proximity sensor driver and has not integrated the length‑validation patch is vulnerable. Systems that load firmware for the aw96103 device—such as embedded boards, mobile devices or laptops—are affected until a kernel update containing the fix is applied. No specific versions are listed, so all kernels lacking the patch should be treated as vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 4.4, indicating moderate severity. The EPSS score is less than 1%, suggesting a low probability of exploitation. It is not listed in the CISA KEV catalog, meaning no widespread exploitation is known. Exploitation typically requires the ability to supply a crafted firmware image to the driver, which normally demands local access. Based on the description, it is inferred that this requires local or privileged access to the device firmware loading mechanism.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the kernel update that contains the aw96103 firmware length validation patch.
  • If an update is not yet available, disable the aw96103 driver or block firmware loading for that device to prevent the use of corrupted firmware.
  • Enable firmware signing and enforce signature verification for all firmware files used by the driver to ensure integrity and provenance.
  • During development or before deployment, validate that firmware headers contain a proper length field and that the payload fully matches the specified size, guarding against integer underflows and buffer overreads.

Generated by OpenCVE AI on October 23, 2026 at 06:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-680
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-125
CWE-680
Type Values Removed Values Added
Description 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.
Title iio: proximity: aw96103: validate firmware data length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:23 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM