accel/amdxdna: Fix crash when destroying a suspended hardware context
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
| No fix yet |
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix crash when destroying a suspended hardware context
If userspace issues an ioctl to destroy a hardware context that has already been automatically suspended, the driver may crash because the mailbox channel pointer is NULL for the suspended context.
Fix this by checking the mailbox channel pointer in aie2_destroy_context() before accessing it.
From the CVE record · Linux
The Linux kernel accel/amdxdna driver can crash when userspace issues an ioctl to destroy a hardware context that has already been automatically suspended. This is a local issue; the input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with the accel/amdxdna driver should check their kernel; affected versions are not specified.