{"id":"CVE-2026-98658","state":"PUBLISHED","title":"iio: proximity: aw96103: validate firmware data length","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: proximity: aw96103: validate firmware data length\n\nThe firmware parser reads a length from the binary header and then uses\nit to walk six-byte register/value entries. A truncated firmware image\ncan make the parser read beyond the copied firmware buffer. A value\nsmaller than the four-byte count field also underflows, producing a very\nlarge length.\n\nRead the little-endian field with get_unaligned_le32(), as previously\nproposed by David Lechner. Validate the header size, reject an\nunderflowed length, ensure the resulting payload is contained in the\nfirmware image, and require it to contain whole register/value entries.","publishedAt":"2026-10-18T15:44:12.196Z","updatedAt":"2026-10-19T09:23:26.505Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7","versionType":"git"},{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"6501b032be217ecf47e793b78a05078cf0b604ad","versionType":"git"},{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"815ae0b73b69ace207b6bbf7ef428b06491c3ddb","versionType":"git"},{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"1a7c522a35477d70320bd64aba8e9de0c1058c6f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/aw96103.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/aw96103.c"]}],"references":["https://git.kernel.org/stable/c/4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7","https://git.kernel.org/stable/c/6501b032be217ecf47e793b78a05078cf0b604ad","https://git.kernel.org/stable/c/815ae0b73b69ace207b6bbf7ef428b06491c3ddb","https://git.kernel.org/stable/c/1a7c522a35477d70320bd64aba8e9de0c1058c6f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98658.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98658","state":"PUBLISHED","datePublished":"2026-10-18T15:44:12.196Z","dateUpdated":"2026-10-19T09:23:26.505Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.362Z"},"containers":{"cna":{"title":"iio: proximity: aw96103: validate firmware data length","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: proximity: aw96103: validate firmware data length\n\nThe firmware parser reads a length from the binary header and then uses\nit to walk six-byte register/value entries. A truncated firmware image\ncan make the parser read beyond the copied firmware buffer. A value\nsmaller than the four-byte count field also underflows, producing a very\nlarge length.\n\nRead the little-endian field with get_unaligned_le32(), as previously\nproposed by David Lechner. Validate the header size, reject an\nunderflowed length, ensure the resulting payload is contained in the\nfirmware image, and require it to contain whole register/value entries."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7","versionType":"git"},{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"6501b032be217ecf47e793b78a05078cf0b604ad","versionType":"git"},{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"815ae0b73b69ace207b6bbf7ef428b06491c3ddb","versionType":"git"},{"version":"07b241262dcad07671c444ca955903325de28e9e","status":"affected","lessThan":"1a7c522a35477d70320bd64aba8e9de0c1058c6f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/aw96103.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/aw96103.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7"},{"url":"https://git.kernel.org/stable/c/6501b032be217ecf47e793b78a05078cf0b604ad"},{"url":"https://git.kernel.org/stable/c/815ae0b73b69ace207b6bbf7ef428b06491c3ddb"},{"url":"https://git.kernel.org/stable/c/1a7c522a35477d70320bd64aba8e9de0c1058c6f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:23:26.505Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}