Linux kernel memory leak in AMDGPU gang submissions
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
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)
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-99866 (drm/amdgpu: drop the gang leader reference when freeing gang jobs), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-99866 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 6.1
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-99866 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-99866 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/94f67beb15993066c97bd31d9c176b9fe00a9df9
- https://git.kernel.org/stable/c/5027839fd02b107d50a8fcbdb75b37c885f68a32
- https://git.kernel.org/stable/c/022471384f88d86c68f08de7bfeb9fbd6cc3c75c
- https://git.kernel.org/stable/c/b83464af4ddd549c2998d52f04fda6910de521ed
- https://git.kernel.org/stable/c/c82c35882df4424f28dbcff1605d7211e41de767
- https://git.kernel.org/stable/c/c1584e10a7deb655438f21867b2b7a356a9aaf9f
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-99866
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-99866"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux6.1
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7/10CVSS 7.0
- No patch5/5No patch listed yet
What would change the score
- Would score about 87 if added to CISA KEV
- Would score about 82 if CISA's SSVC rates exploitation active
- Would score about 54 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-99866 |
| Record | NVD · CVE-2026-99866 |
| Other links 6 | |
| Link | git.kernel.org · stable/c/94f67beb15993066c97bd31d9c176b9fe00a9df9 |
| Link | git.kernel.org · stable/c/5027839fd02b107d50a8fcbdb75b37c885f68a32 |
| Link | git.kernel.org · stable/c/022471384f88d86c68f08de7bfeb9fbd6cc3c75c |
| Link | git.kernel.org · stable/c/b83464af4ddd549c2998d52f04fda6910de521ed |
| Link | git.kernel.org · stable/c/c82c35882df4424f28dbcff1605d7211e41de767 |
| Link | git.kernel.org · stable/c/c1584e10a7deb655438f21867b2b7a356a9aaf9f |
Questions about CVE-2026-99866
Is CVE-2026-99866 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-99866?
Linux: version 6.1.
Source: cve.now feed data
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.