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)
https://git.kernel.org/stable/c/dc2d9842c67d883d3200ae33b9c3859dd9492408
https://git.kernel.org/stable/c/bebce43f34b5feb8a760aa832eba81e0f8a38871
https://git.kernel.org/stable/c/84f2bfbe6e38f8b9815ca00826e53b7f51420402