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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
07b241262dcad07671c444ca955903325de28e9e to < 4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7affected07b241262dcad07671c444ca955903325de28e9e to < 6501b032be217ecf47e793b78a05078cf0b604adaffected07b241262dcad07671c444ca955903325de28e9e to < 815ae0b73b69ace207b6bbf7ef428b06491c3ddbaffected07b241262dcad07671c444ca955903325de28e9e to < 1a7c522a35477d70320bd64aba8e9de0c1058c6faffected
Linux Linux
Default version status: affected
6.12affected0 to < 6.12unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected