CVE-2026-98658: iio: proximity: aw96103: validate firmware data length

Published Oct 18, 2026
·
Updated

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 getunalignedle32(), 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the aw96103 firmware parser, read the little-endian length field with get_unaligned_le32(), validate that the firmware data is at least large enough to contain the four-byte count field, reject oversized or underflowed lengths, ensure the resulting payload remains within the copied firmware buffer, and require the payload length to contain only whole six-byte register/value entries.

Event History

Oct 18, 2026
CVE Published
via MITRE·03:44 PM
Data Sourced
via MITRE·03:44 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the out-of-bounds read?

The AW96103 firmware parser must process a malformed or truncated firmware image. The image can declare a payload length that extends beyond the copied firmware buffer, is smaller than the four-byte count field, or does not contain a whole number of six-byte register/value entries.

2

What checks does the fix add?

The fix validates the firmware header size, rejects lengths that would underflow after the count field, verifies that the payload remains within the firmware image, and requires complete six-byte register/value entries. It also reads the little-endian length field with get_unaligned_le32().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203