drm/xe: Don't free job in TDR
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/xe: Don't free job in TDR
Freeing job in TDR is not safe as TDR can pass the run_job thread resulting in UAF. It is only safe for free job to naturally be called by the scheduler. Rather free job in TDR, add to pending list.
(cherry picked from commit ea2f6a77d0c40d97f4a4dc93fee4afe15d94926d)
From the CVE record · Linux
The Linux kernel’s drm/xe component has a use-after-free vulnerability: TDR can free a job while the run_job thread is still using it. The input does not specify how an attacker could trigger this issue or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with drm/xe should check their versions; affected versions are not specified.