drm/amdgpu: disallow multiple FENCE chunks in one submit
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: disallow multiple FENCE chunks in one submit amdgpu_cs_pass1() dispatches on chunk_id once per chunk without rejecting repeated ids. p->uf_bo is a single-slot field, so a submission carrying two AMDGPU_CHUNK_ID_FENCE chunks runs amdgpu_cs_p1_user_fence() twice, and the second run overwrites p->uf_bo with a freshly referenced BO without dropping the reference taken by the first. amdgpu_cs_parser_fini() only unrefs the final p->uf_bo, so every FENCE chunk but the last leaks a BO reference. The leaked BO outlives handle close and process exit. Reject duplicate FENCE chunks the same way commit fec5f8e8c6bc ("drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit") did for p->bo_list. (cherry picked from commit 665b1fc2a1845206408f9a2c6da67101789edb82)
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.185, 6.12.105, 6.18.46, 6.6.153, 7.1.10
- CVEs
- CVE-2026-80539
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:07 UTC · Revision 1
Source evidence
drm/amdgpu: disallow multiple FENCE chunks in one submit
core-osv · Original sourcePublished 26 Aug 2026, 14:37 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: disallow multiple FENCE chunks in one submit amdgpu_cs_pass1() dispatches on chunk_id once per chunk without rejecting repeated ids. p->uf_bo is a single-slot field, so a submission carrying two AMDGPU_CHUNK_ID_FENCE chunks runs amdgpu_cs_p1_user_fence() twice, and the second run overwrites p->uf_bo with a freshly referenced BO without dropping the reference taken by the first. amdgpu_cs_parser_fini() only unrefs the final p->uf_bo, so every FENCE chunk but the last leaks a BO reference. The leaked BO outlives handle close and process exit. Reject duplicate FENCE chunks the same way commit fec5f8e8c6bc ("drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit") did for p->bo_list. (cherry picked from commit 665b1fc2a1845206408f9a2c6da67101789edb82)
osv:CVE-2026-80539
Kernel
Fixed versions: 6.1.185, 6.6.153, 6.12.105, 6.18.46, 7.1.10
Complete source record
{
"id": "942524a9456c263af152df4598d47ac6aed35fbf577bf165e9c418b8ab5d35a6",
"url": "https://osv.dev/vulnerability/CVE-2026-80539",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/amdgpu: disallow multiple FENCE chunks in one submit",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: disallow multiple FENCE chunks in one submit amdgpu_cs_pass1() dispatches on chunk_id once per chunk without rejecting repeated ids. p->uf_bo is a single-slot field, so a submission carrying two AMDGPU_CHUNK_ID_FENCE chunks runs amdgpu_cs_p1_user_fence() twice, and the second run overwrites p->uf_bo with a freshly referenced BO without dropping the reference taken by the first. amdgpu_cs_parser_fini() only unrefs the final p->uf_bo, so every FENCE chunk but the last leaks a BO reference. The leaked BO outlives handle close and process exit. Reject duplicate FENCE chunks the same way commit fec5f8e8c6bc (\"drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit\") did for p->bo_list. (cherry picked from commit 665b1fc2a1845206408f9a2c6da67101789edb82)",
"evidence": "osv:CVE-2026-80539",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.185",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.153",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.105",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.46",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-80539",
"aliases": [
"CVE-2026-80539"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21"
},
{
"fixed": "7e9954e7212042ec808b06181b365b14f00c6f0a"
},
{
"fixed": "070229262ede37d17c4ea596650deb6e5eb5d106"
},
{
"fixed": "5f46322e0b84af29e10eb951ff45bd6ea40640de"
},
{
"fixed": "71aa45f7bfe46fbc6f51e7832573ff49b6005fea"
},
{
"fixed": "e3ee74d6dbbe409eb99546a7b0a02b2782f9021d"
},
{
"fixed": "931cd1d1baeae68e8eb2c23bc1f3d8934dca6241"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80539.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2.0"
},
{
"fixed": "6.1.185"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.153"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.105"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.46"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80539.json"
}
}
],
"modified": "2026-10-28T02:30:36.595459817Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/070229262ede37d17c4ea596650deb6e5eb5d106",
"https://git.kernel.org/stable/c/5f46322e0b84af29e10eb951ff45bd6ea40640de",
"https://git.kernel.org/stable/c/71aa45f7bfe46fbc6f51e7832573ff49b6005fea",
"https://git.kernel.org/stable/c/7e9954e7212042ec808b06181b365b14f00c6f0a",
"https://git.kernel.org/stable/c/931cd1d1baeae68e8eb2c23bc1f3d8934dca6241",
"https://git.kernel.org/stable/c/e3ee74d6dbbe409eb99546a7b0a02b2782f9021d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80539.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80539",
"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/80xxx/CVE-2026-80539.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80539",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 503951,
"published_at": "2026-08-26T14:37:13.367+00:00"
}