{"id":"CVE-2026-80539","aliases":["CVE-2026-80539"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: disallow multiple FENCE chunks in one submit","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: disallow multiple FENCE chunks in one submit\n\namdgpu_cs_pass1() dispatches on chunk_id once per chunk without\nrejecting repeated ids. p->uf_bo is a single-slot field, so a\nsubmission carrying two AMDGPU_CHUNK_ID_FENCE chunks runs\namdgpu_cs_p1_user_fence() twice, and the second run overwrites\np->uf_bo with a freshly referenced BO without dropping the reference\ntaken by the first.\n\namdgpu_cs_parser_fini() only unrefs the final p->uf_bo, so every FENCE\nchunk but the last leaks a BO reference. The leaked BO outlives handle\nclose and process exit.\n\nReject duplicate FENCE chunks the same way commit fec5f8e8c6bc\n(\"drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit\") did\nfor p->bo_list.\n\n(cherry picked from commit 665b1fc2a1845206408f9a2c6da67101789edb82)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: disallow multiple FENCE chunks in one submit\n\namdgpu_cs_pass1() dispatches on chunk_id once per chunk without\nrejecting repeated ids. p->uf_bo is a single-slot field, so a\nsubmission carrying two AMDGPU_CHUNK_ID_FENCE chunks runs\namdgpu_cs_p1_user_fence() twice, and the second run overwrites\np->uf_bo with a freshly referenced BO without dropping the reference\ntaken by the first.\n\namdgpu_cs_parser_fini() only unrefs the final p->uf_bo, so every FENCE\nchunk but the last leaks a BO reference. The leaked BO outlives handle\nclose and process exit.\n\nReject duplicate FENCE chunks the same way commit fec5f8e8c6bc\n(\"drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit\") did\nfor p->bo_list.\n\n(cherry picked from commit 665b1fc2a1845206408f9a2c6da67101789edb82)","source":"cvelist"}],"published":"2026-08-26T14:37:13.367Z","modified":"2026-08-27T13:18:39.113Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"7e9954e7212042ec808b06181b365b14f00c6f0a","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"070229262ede37d17c4ea596650deb6e5eb5d106","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"5f46322e0b84af29e10eb951ff45bd6ea40640de","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"71aa45f7bfe46fbc6f51e7832573ff49b6005fea","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"e3ee74d6dbbe409eb99546a7b0a02b2782f9021d","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"931cd1d1baeae68e8eb2c23bc1f3d8934dca6241","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"6.1.185","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.153","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.105","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.46","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7e9954e7212042ec808b06181b365b14f00c6f0a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/070229262ede37d17c4ea596650deb6e5eb5d106","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f46322e0b84af29e10eb951ff45bd6ea40640de","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71aa45f7bfe46fbc6f51e7832573ff49b6005fea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3ee74d6dbbe409eb99546a7b0a02b2782f9021d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/931cd1d1baeae68e8eb2c23bc1f3d8934dca6241","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80539","url":"https://www.cve.org/CVERecord?id=CVE-2026-80539","licence":"CVE Terms of Use","modified":"2026-08-27T12:40:05.835Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80539","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80539","licence":"Public domain","modified":"2026-08-27T13:18:39.113Z"}],"updatedAt":"2026-11-25T22:59:35.387Z","epss":{"score":0.00173,"percentile":0.07066,"date":"2026-12-01T12:00:22.000Z"}}