iio: adc: ti-ads1298: add bounds check to pga_settings index
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: add bounds check to pga_settings index ads1298_pga_settings has 7 elements but ADS1298_MASK_CH_PGA can yield values 0-7. If it yields a value >= 7, this causes an out-of-bounds array access. Add a bounds check and return -EINVAL if the index is out of range. Note that the remaining value b111 is reserved so should not be seen in a correctly functioning system.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.95, 6.18.37, 7.0.14, 7.1.2
- CVEs
- CVE-2026-53386
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 11:39 UTC · Revision 1
Source evidence
iio: adc: ti-ads1298: add bounds check to pga_settings index
core-osv · Original sourcePublished 19 Jul 2026, 11:59 UTC
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: add bounds check to pga_settings index ads1298_pga_settings has 7 elements but ADS1298_MASK_CH_PGA can yield values 0-7. If it yields a value >= 7, this causes an out-of-bounds array access. Add a bounds check and return -EINVAL if the index is out of range. Note that the remaining value b111 is reserved so should not be seen in a correctly functioning system.
osv:CVE-2026-53386
Kernel
Fixed versions: 6.12.95, 6.18.37, 7.0.14, 7.1.2
Complete source record
{
"id": "41ba0cf67dfe87bd7127afd58e304403b9ccf6989be0d7e69efdc5cbf3452208",
"url": "https://osv.dev/vulnerability/CVE-2026-53386",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "iio: adc: ti-ads1298: add bounds check to pga_settings index",
"summary": "In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: add bounds check to pga_settings index ads1298_pga_settings has 7 elements but ADS1298_MASK_CH_PGA can yield values 0-7. If it yields a value >= 7, this causes an out-of-bounds array access. Add a bounds check and return -EINVAL if the index is out of range. Note that the remaining value b111 is reserved so should not be seen in a correctly functioning system.",
"evidence": "osv:CVE-2026-53386",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.95",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.37",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.14",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-53386",
"aliases": [
"CVE-2026-53386"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "00ef7708fa6073a84f6898fdcdfe965d903b0378"
},
{
"fixed": "d5793975fc3b1780ba576812158ef22e3104e60e"
},
{
"fixed": "d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6"
},
{
"fixed": "abe0854e356b1bb814393ca884cb42b3eb12ce10"
},
{
"fixed": "abd776ded3e256889610595290f6ca46cb6e91ab"
},
{
"fixed": "95e8a48d7a85d4226934020e57815a3316d3a14b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53386.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.12.95"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.37"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.14"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.1.0"
},
{
"fixed": "7.1.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53386.json"
}
}
],
"modified": "2026-10-28T02:30:50.913311227Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/95e8a48d7a85d4226934020e57815a3316d3a14b",
"https://git.kernel.org/stable/c/abd776ded3e256889610595290f6ca46cb6e91ab",
"https://git.kernel.org/stable/c/abe0854e356b1bb814393ca884cb42b3eb12ce10",
"https://git.kernel.org/stable/c/d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6",
"https://git.kernel.org/stable/c/d5793975fc3b1780ba576812158ef22e3104e60e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53386.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53386",
"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/53xxx/CVE-2026-53386.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53386",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519158,
"published_at": "2026-07-19T11:59:33.318+00:00"
}