Linux
drm/xe/eustall: Fix drm_dev_put called before stream disable in close
In the Linux kernel, the following vulnerability has been resolved: drm/xe/eustall: Fix drm_dev_put called before stream disable in close In xe_eu_stall_stream_close(), drm_dev_put() is called before the stream is disabled and its resources are freed. If this drops the last reference, the device structures could be freed while the subsequent cleanup code still accesses them, leading to a use-after-free. Fix this by moving drm_dev_put() after all device accesses are complete. This matches the ordering in xe_oa_release(). (cherry picked from commit 35aff528f7297e949e5e19c9cd7fd748cf1cf21c)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9a0b11d4cf3b4324378c322b7043962e648681ed, < bebce43f34b5feb8a760aa832eba81e0f8a38871
- >= 9a0b11d4cf3b4324378c322b7043962e648681ed, < 84f2bfbe6e38f8b9815ca00826e53b7f51420402
- >= 9a0b11d4cf3b4324378c322b7043962e648681ed, < dc2d9842c67d883d3200ae33b9c3859dd9492408
Fixed in bebce43f34b5feb8a760aa832eba81e0f8a38871, 84f2bfbe6e38f8b9815ca00826e53b7f51420402, dc2d9842c67d883d3200ae33b9c3859dd9492408
- 6.15
Fixed in 0, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to bebce43f34b5feb8a760aa832eba81e0f8a38871 or 84f2bfbe6e38f8b9815ca00826e53b7f51420402 or dc2d9842c67d883d3200ae33b9c3859dd9492408 or later.
Upgrade Linux to 0 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.