iio: proximity: aw96103: validate firmware data length
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.113, 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 07b241262dcad07671c444ca955903325de28e9e · fixed in 4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7; From 07b241262dcad07671c444ca955903325de28e9e · fixed in 6501b032be217ecf47e793b78a05078cf0b604ad; From 07b241262dcad07671c444ca955903325de28e9e · fixed in 815ae0b73b69ace207b6bbf7ef428b06491c3ddb; From 07b241262dcad07671c444ca955903325de28e9e · fixed in 1a7c522a35477d70320bd64aba8e9de0c1058c6f
- Linux Linux
6.12
- KernelLinux
From 6.12.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10