drm/amdgpu/vce: fix integer overflow in image size
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vce: fix integer overflow in image size Fix a security vulnerability where malicious VCE command streams with oversized dimensions (e.g. 65536×65536) cause 32-bit integer overflow, wrapping the calculated buffer size to 0. This bypasses validation and allows GPU firmware to perform out-of-bound memory access. The fix uses 64-bit arithmetic to detect overflow and rejects invalid dimensions before they reach the hardware. V2: remove redundant check V3: modify max height value V4: remove size64 (cherry picked from commit cbe408dba581755ad1279a487ec786d8927d778d)
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.183, 6.12.101, 6.18.42, 6.6.148, 7.1.6
- CVEs
- CVE-2026-68108
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:20 UTC · Revision 1
Source evidence
drm/amdgpu/vce: fix integer overflow in image size
core-osv · Original sourcePublished 10 Aug 2026, 11:58 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vce: fix integer overflow in image size Fix a security vulnerability where malicious VCE command streams with oversized dimensions (e.g. 65536×65536) cause 32-bit integer overflow, wrapping the calculated buffer size to 0. This bypasses validation and allows GPU firmware to perform out-of-bound memory access. The fix uses 64-bit arithmetic to detect overflow and rejects invalid dimensions before they reach the hardware. V2: remove redundant check V3: modify max height value V4: remove size64 (cherry picked from commit cbe408dba581755ad1279a487ec786d8927d778d)
osv:CVE-2026-68108
Kernel
Fixed versions: 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6
Complete source record
{
"id": "32d45db358083c406afbccf127340bfa4930ac510d568ad3427cc67139666702",
"url": "https://osv.dev/vulnerability/CVE-2026-68108",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/amdgpu/vce: fix integer overflow in image size",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vce: fix integer overflow in image size Fix a security vulnerability where malicious VCE command streams with oversized dimensions (e.g. 65536×65536) cause 32-bit integer overflow, wrapping the calculated buffer size to 0. This bypasses validation and allows GPU firmware to perform out-of-bound memory access. The fix uses 64-bit arithmetic to detect overflow and rejects invalid dimensions before they reach the hardware. V2: remove redundant check V3: modify max height value V4: remove size64 (cherry picked from commit cbe408dba581755ad1279a487ec786d8927d778d)",
"evidence": "osv:CVE-2026-68108",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.183",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.148",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.101",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.42",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-68108",
"aliases": [
"CVE-2026-68108"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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": "f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c"
},
{
"fixed": "893db20383800cfe92e638705984eebb13bc81a5"
},
{
"fixed": "a07430abd556de3707adfcadcc60db3fa64e4b2b"
},
{
"fixed": "a6d7065b91a14790980ce6f4960db0ca8c3c9940"
},
{
"fixed": "7eebef042c12dfe0568593ee6a8926d16505925e"
},
{
"fixed": "00c311a13d225266800c712f2b7db2711c6897de"
},
{
"fixed": "186bfdc4e26d019b2e7570cb121964a1d89b2e5b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68108.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2.0"
},
{
"fixed": "6.1.183"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.148"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.101"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.42"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68108.json"
}
}
],
"modified": "2026-10-28T02:30:28.117693283Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/00c311a13d225266800c712f2b7db2711c6897de",
"https://git.kernel.org/stable/c/186bfdc4e26d019b2e7570cb121964a1d89b2e5b",
"https://git.kernel.org/stable/c/7eebef042c12dfe0568593ee6a8926d16505925e",
"https://git.kernel.org/stable/c/893db20383800cfe92e638705984eebb13bc81a5",
"https://git.kernel.org/stable/c/a07430abd556de3707adfcadcc60db3fa64e4b2b",
"https://git.kernel.org/stable/c/a6d7065b91a14790980ce6f4960db0ca8c3c9940",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68108.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-68108",
"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/68xxx/CVE-2026-68108.json"
}
},
"related_cves": [
{
"value": "CVE-2026-68108",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494909,
"published_at": "2026-08-10T11:58:25.241+00:00"
}