CVEvulnerability
CVE-2026-98658
- Status
- Received
- Published
- 2026-10-18
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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.
References
- https://git.kernel.org/stable/c/1a7c522a35477d70320bd64aba8e9de0c1058c6f git.kernel.org
- https://git.kernel.org/stable/c/4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7 git.kernel.org
- https://git.kernel.org/stable/c/6501b032be217ecf47e793b78a05078cf0b604ad git.kernel.org
- https://git.kernel.org/stable/c/815ae0b73b69ace207b6bbf7ef428b06491c3ddb git.kernel.org