drm/amdgpu: fix division by zero with invalid uvd dimensions
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix division by zero with invalid uvd dimensions When width or height is less than 16, width_in_mb or height_in_mb becomes 0, leading to fs_in_mb being 0. This causes a division by zero when calculating num_dpb_buffer in H264 and H264 Perf decode paths. Add validation to reject frames with width < 16 or height < 16 before performing any calculations that depend on these values. V2: Format change - move up all vaiable definitions. V3: Use warn_once to avoid spam. (cherry picked from commit 3e41d26c70b0a459d041cc19482a226c4b7423cb)
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.265, 5.15.216, 6.1.183, 6.12.101, 6.18.42, 6.6.148, 7.1.6
- CVEs
- CVE-2026-68106
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:23 UTC · Revision 1
Source evidence
drm/amdgpu: fix division by zero with invalid uvd dimensions
core-osv · Original sourcePublished 10 Aug 2026, 11:58 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix division by zero with invalid uvd dimensions When width or height is less than 16, width_in_mb or height_in_mb becomes 0, leading to fs_in_mb being 0. This causes a division by zero when calculating num_dpb_buffer in H264 and H264 Perf decode paths. Add validation to reject frames with width < 16 or height < 16 before performing any calculations that depend on these values. V2: Format change - move up all vaiable definitions. V3: Use warn_once to avoid spam. (cherry picked from commit 3e41d26c70b0a459d041cc19482a226c4b7423cb)
osv:CVE-2026-68106
Kernel
Fixed versions: 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6
Complete source record
{
"id": "ca836922349fd26a9a7bc44b7368d1510691a60cd1720d1a2051bf88110b13f6",
"url": "https://osv.dev/vulnerability/CVE-2026-68106",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/amdgpu: fix division by zero with invalid uvd dimensions",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix division by zero with invalid uvd dimensions When width or height is less than 16, width_in_mb or height_in_mb becomes 0, leading to fs_in_mb being 0. This causes a division by zero when calculating num_dpb_buffer in H264 and H264 Perf decode paths. Add validation to reject frames with width < 16 or height < 16 before performing any calculations that depend on these values. V2: Format change - move up all vaiable definitions. V3: Use warn_once to avoid spam. (cherry picked from commit 3e41d26c70b0a459d041cc19482a226c4b7423cb)",
"evidence": "osv:CVE-2026-68106",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.265",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.216",
"evidence": "/affected/1/ranges"
},
{
"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-68106",
"aliases": [
"CVE-2026-68106"
],
"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": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21"
},
{
"fixed": "004d0453cfef16f056cb7b8bc04f69f19cf9df32"
},
{
"fixed": "00ee64910ecf748cc15b23bbcbea472c203ec1e8"
},
{
"fixed": "81c9b4921f62d1642b9d775524ae9240e521a5ed"
},
{
"fixed": "52f9a588296432accf2982f7d258192a37562f4f"
},
{
"fixed": "a00946b5ab7c25da5685ca9c58f50ff6f43c0fdf"
},
{
"fixed": "ffb33d466a68cea3e8a3dbed04d79037a3cbabd1"
},
{
"fixed": "be725ab23aa45c11a5afef3e2a9f6d8c084ae5dc"
},
{
"fixed": "0c01c811be47e6b146552dd59bfedbea8f09b8f4"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68106.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2.0"
},
{
"fixed": "5.10.265"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.216"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.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-68106.json"
}
}
],
"modified": "2026-10-28T02:30:37.692517813Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/004d0453cfef16f056cb7b8bc04f69f19cf9df32",
"https://git.kernel.org/stable/c/00ee64910ecf748cc15b23bbcbea472c203ec1e8",
"https://git.kernel.org/stable/c/0c01c811be47e6b146552dd59bfedbea8f09b8f4",
"https://git.kernel.org/stable/c/52f9a588296432accf2982f7d258192a37562f4f",
"https://git.kernel.org/stable/c/81c9b4921f62d1642b9d775524ae9240e521a5ed",
"https://git.kernel.org/stable/c/a00946b5ab7c25da5685ca9c58f50ff6f43c0fdf",
"https://git.kernel.org/stable/c/be725ab23aa45c11a5afef3e2a9f6d8c084ae5dc",
"https://git.kernel.org/stable/c/ffb33d466a68cea3e8a3dbed04d79037a3cbabd1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68106.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-68106",
"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-68106.json"
}
},
"related_cves": [
{
"value": "CVE-2026-68106",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505296,
"published_at": "2026-08-10T11:58:23.108+00:00"
}