CVE-2026-31768 (GCVE-0-2026-31768)
Vulnerability from cvelistv5 – Published: 2026-05-01 14:14 – Updated: 2026-05-03 05:45
VLAI?
Title
iio: adc: ti-adc161s626: use DMA-safe memory for spi_read()
Summary
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: ti-adc161s626: use DMA-safe memory for spi_read()
Add a DMA-safe buffer and use it for spi_read() instead of a stack
memory. All SPI buffers must be DMA-safe.
Since we only need up to 3 bytes, we just use a u8[] instead of __be16
and __be32 and change the conversion functions appropriately.
Severity ?
7.8 (High)
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
4d671b71beefbfc145b971a11e0c3cabde94b673 , < b3bb8faeca1a2ef7be95ee8a512b639f9ffce947
(git)
Affected: 4d671b71beefbfc145b971a11e0c3cabde94b673 , < fa64aab25aba47296aa8d12bb4c88ec3fecb2054 (git) Affected: 4d671b71beefbfc145b971a11e0c3cabde94b673 , < 67b3a91bdc48220bfb67155ab528121b9c822782 (git) Affected: 4d671b71beefbfc145b971a11e0c3cabde94b673 , < 014c6d27878d3883f7bb065610768fd021de1a96 (git) Affected: 4d671b71beefbfc145b971a11e0c3cabde94b673 , < d2d031b0786ea66ab0577c9d2d71435068d32199 (git) Affected: 4d671b71beefbfc145b971a11e0c3cabde94b673 , < 768461517a28d80fe81ea4d5d03a90cd184ea6ad (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/iio/adc/ti-adc161s626.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "b3bb8faeca1a2ef7be95ee8a512b639f9ffce947",
"status": "affected",
"version": "4d671b71beefbfc145b971a11e0c3cabde94b673",
"versionType": "git"
},
{
"lessThan": "fa64aab25aba47296aa8d12bb4c88ec3fecb2054",
"status": "affected",
"version": "4d671b71beefbfc145b971a11e0c3cabde94b673",
"versionType": "git"
},
{
"lessThan": "67b3a91bdc48220bfb67155ab528121b9c822782",
"status": "affected",
"version": "4d671b71beefbfc145b971a11e0c3cabde94b673",
"versionType": "git"
},
{
"lessThan": "014c6d27878d3883f7bb065610768fd021de1a96",
"status": "affected",
"version": "4d671b71beefbfc145b971a11e0c3cabde94b673",
"versionType": "git"
},
{
"lessThan": "d2d031b0786ea66ab0577c9d2d71435068d32199",
"status": "affected",
"version": "4d671b71beefbfc145b971a11e0c3cabde94b673",
"versionType": "git"
},
{
"lessThan": "768461517a28d80fe81ea4d5d03a90cd184ea6ad",
"status": "affected",
"version": "4d671b71beefbfc145b971a11e0c3cabde94b673",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/iio/adc/ti-adc161s626.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.9"
},
{
"lessThan": "4.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.168",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.134",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.81",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.22",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"version": "6.19.12",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.168",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.134",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.81",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.22",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.12",
"versionStartIncluding": "4.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "4.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ti-adc161s626: use DMA-safe memory for spi_read()\n\nAdd a DMA-safe buffer and use it for spi_read() instead of a stack\nmemory. All SPI buffers must be DMA-safe.\n\nSince we only need up to 3 bytes, we just use a u8[] instead of __be16\nand __be32 and change the conversion functions appropriately."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-05-03T05:45:49.425Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/b3bb8faeca1a2ef7be95ee8a512b639f9ffce947"
},
{
"url": "https://git.kernel.org/stable/c/fa64aab25aba47296aa8d12bb4c88ec3fecb2054"
},
{
"url": "https://git.kernel.org/stable/c/67b3a91bdc48220bfb67155ab528121b9c822782"
},
{
"url": "https://git.kernel.org/stable/c/014c6d27878d3883f7bb065610768fd021de1a96"
},
{
"url": "https://git.kernel.org/stable/c/d2d031b0786ea66ab0577c9d2d71435068d32199"
},
{
"url": "https://git.kernel.org/stable/c/768461517a28d80fe81ea4d5d03a90cd184ea6ad"
}
],
"title": "iio: adc: ti-adc161s626: use DMA-safe memory for spi_read()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-31768",
"datePublished": "2026-05-01T14:14:57.971Z",
"dateReserved": "2026-03-09T15:48:24.140Z",
"dateUpdated": "2026-05-03T05:45:49.425Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-31768",
"date": "2026-05-07",
"epss": "0.00013",
"percentile": "0.0241"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-31768\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-01T15:16:39.977\",\"lastModified\":\"2026-05-03T07:16:20.197\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\niio: adc: ti-adc161s626: use DMA-safe memory for spi_read()\\n\\nAdd a DMA-safe buffer and use it for spi_read() instead of a stack\\nmemory. All SPI buffers must be DMA-safe.\\n\\nSince we only need up to 3 bytes, we just use a u8[] instead of __be16\\nand __be32 and change the conversion functions appropriately.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/014c6d27878d3883f7bb065610768fd021de1a96\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/67b3a91bdc48220bfb67155ab528121b9c822782\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/768461517a28d80fe81ea4d5d03a90cd184ea6ad\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b3bb8faeca1a2ef7be95ee8a512b639f9ffce947\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d2d031b0786ea66ab0577c9d2d71435068d32199\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fa64aab25aba47296aa8d12bb4c88ec3fecb2054\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…