CVE-2026-98658 PUBLISHED

iio: proximity: aw96103: validate firmware data length

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 07b241262dcad07671c444ca955903325de28e9e to 4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7 (excl.)
  • affected from 07b241262dcad07671c444ca955903325de28e9e to 6501b032be217ecf47e793b78a05078cf0b604ad (excl.)
  • affected from 07b241262dcad07671c444ca955903325de28e9e to 815ae0b73b69ace207b6bbf7ef428b06491c3ddb (excl.)
  • affected from 07b241262dcad07671c444ca955903325de28e9e to 1a7c522a35477d70320bd64aba8e9de0c1058c6f (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.12 is affected
  • unaffected from 0 to 6.12 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References