accel/amdxdna: Stop job scheduling across aie2_release_resource()
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 |
6.15
|
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Stop job scheduling across aie2_release_resource()
Running jobs on a hardware context while it is in the process of releasing resources can lead to use-after-free and crashes.
Fix this by stopping job scheduling before calling aie2_release_resource() and restarting it after the release completes. Additionally, aie2_sched_job_run() now checks whether the hardware context is still active.
From the CVE record · Linux
The Linux kernel’s accel/amdxdna driver can use freed memory and crash if jobs run on a hardware context while it releases resources. This requires jobs to be running during resource release; the input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with the accel/amdxdna driver should check whether their kernel includes this fix; affected versions are not specified.