drm/sched: Fix fence reference count leak
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/sched: Fix fence reference count leak
The last_scheduled fence leaks when an entity is being killed and adding the cleanup callback fails.
Decrement the reference count of prev when dma_fence_add_callback() fails, ensuring proper balance.
[phasta: add git tag info for stable kernel]
From the CVE record · Linux
The Linux kernel’s drm/sched component can leak a reference to the last_scheduled fence when an entity is being killed and adding its cleanup callback fails. The input does not describe how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.