CVE-2026-99866
Last modified
CVE-2026-99866 is a high-severity vulnerability rated 7/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: drop the gang leader reference when freeing gang jobs Every job of a gang except the leader holds a reference to the scheduled fence of the leader in job->gang_submit. Only amdgpu_job_free(), used for jobs which never ran, drops it, so for every gang submission which completes the scheduler fence of the leader, and with it its hardware fence, is leaked.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: drop the gang leader reference when freeing gang jobs Every job of a gang except the leader holds a reference to the scheduled fence of the leader in job->gang_submit. Only amdgpu_job_free(), used for jobs which never ran, drops it, so for every gang submission which completes the scheduler fence of the leader, and with it its hardware fence, is leaked. amdgpu_job_free() in turn checks for the leader only after drm_sched_job_cleanup() cleared the scheduler fence, so a leader freed there drops a reference it never took. On navi31, 100 submissions of a GFX + COMPUTE gang grow the slab cache drm_sched_fence is merged into by 60 to 180 objects each time, while 100 GFX only submissions don't. Use amdgpu_job_free() for the jobs the scheduler frees too, and check for the gang leader there before drm_sched_job_cleanup() clears the scheduler fence. As the scheduler clears the entity of the jobs it picked up, check for the scheduler fence instead to tell whether the job needs cleaning up. Keep freeing the remaining IBs with amdgpu_job_free_resources() after drm_sched_job_cleanup(), so that it frees them with the hardware fence or right away and not with the scheduler fence, which nobody signals for jobs aborted after drm_sched_job_arm(), like a CS returning -EAGAIN. v2: unify amdgpu_job_free() and amdgpu_job_free_cb() (Christian), don't free the remaining IBs with the scheduler fence v3: drop the comments (Christian) v4: free the IBs with amdgpu_job_free_resources() again (Christian) (cherry picked from commit df4d6d404d44bbc8fc850bc7f9f136a25dabf180)
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 68ce8b242242651eb3cb4ff29b79c44d02f752c9, < 94f67beb15993066c97bd31d9c176b9fe00a9df9; >= 68ce8b242242651eb3cb4ff29b79c44d02f752c9, < 5027839fd02b107d50a8fcbdb75b37c885f68a32; >= 68ce8b242242651eb3cb4ff29b79c44d02f752c9, < 022471384f88d86c68f08de7bfeb9fbd6cc3c75c; >= 68ce8b242242651eb3cb4ff29b79c44d02f752c9, < b83464af4ddd549c2998d52f04fda6910de521ed; >= 68ce8b242242651eb3cb4ff29b79c44d02f752c9, < c82c35882df4424f28dbcff1605d7211e41de767; >= 68ce8b242242651eb3cb4ff29b79c44d02f752c9, < c1584e10a7deb655438f21867b2b7a356a9aaf9f |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99866?
How severe is CVE-2026-99866?
How do I fix CVE-2026-99866?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99860In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99861In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99862In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99863In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99864In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-99865In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99867In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99868In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99869In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9987Insufficient validation of untrusted input in WebAppInstalls…7.8
- CVE-2026-99870In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99871In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99866?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
