iio: proximity: aw96103: validate firmware data length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 815ae0b73b69ace207b6bbf7ef428b06491c3ddb, Kernel 1a7c522a35477d70320bd64aba8e9de0c1058c6f, Kernel 4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=07b241262dcad07671c444ca955903325de28e9e <815ae0b73b69ace207b6bbf7ef428b06491c3ddb, >=07b241262dcad07671c444ca955903325de28e9e <1a7c522a35477d70320bd64aba8e9de0c1058c6f, >=07b241262dcad07671c444ca955903325de28e9e <4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7, >=07b241262dcad07671c444ca955903325de28e9e <6501b032be217ecf47e793b78a05078cf0b604ad, =6.12 | 815ae0b73b69ace207b6bbf7ef428b06491c3ddb, 1a7c522a35477d70320bd64aba8e9de0c1058c6f, 4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7, 6501b032be217ecf47e793b78a05078cf0b604ad |
| linux-kernel: Kernel | >=6.13.0 <6.18.56, >=6.19.0 <7.2.10, >=6.12.0 <6.12.113 | 6.18.56, 7.2.10, 6.12.113 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket