iio: proximity: aw96103: validate firmware data length
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.113, 6.18.56, 7.2.10
- CVEs
- CVE-2026-98658
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:51 UTC · Revision 1
Source evidence
iio: proximity: aw96103: validate firmware data length
core-osv · Original sourcePublished 18 Oct 2026, 15:44 UTC
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.
osv:CVE-2026-98658
Kernel
Fixed versions: 6.12.113, 6.18.56, 7.2.10
Complete source record
{
"id": "5127abe2a4927ecac9461eade2a5a1e9a4485cc2305ecc689415c6c8cea897ef",
"url": "https://osv.dev/vulnerability/CVE-2026-98658",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "iio: proximity: aw96103: validate firmware data length",
"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.",
"evidence": "osv:CVE-2026-98658",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.113",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.56",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98658",
"aliases": [
"CVE-2026-98658"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "07b241262dcad07671c444ca955903325de28e9e"
},
{
"fixed": "4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7"
},
{
"fixed": "6501b032be217ecf47e793b78a05078cf0b604ad"
},
{
"fixed": "815ae0b73b69ace207b6bbf7ef428b06491c3ddb"
},
{
"fixed": "1a7c522a35477d70320bd64aba8e9de0c1058c6f"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98658.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.12.0"
},
{
"fixed": "6.12.113"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.56"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98658.json"
}
}
],
"modified": "2026-10-28T02:30:41.543391439Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1a7c522a35477d70320bd64aba8e9de0c1058c6f",
"https://git.kernel.org/stable/c/4a9b9f2d4e26589afd0ac099c8e5593170dd5ac7",
"https://git.kernel.org/stable/c/6501b032be217ecf47e793b78a05078cf0b604ad",
"https://git.kernel.org/stable/c/815ae0b73b69ace207b6bbf7ef428b06491c3ddb",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98658.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98658",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98658.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98658",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 509228,
"published_at": "2026-10-18T15:44:12.196+00:00"
}