accel/amdxdna: Fix NULL pointer dereference of mgmt_chann
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.18.576.19.77.0In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix NULL pointer dereference of mgmt_chann
mgmt_chann may be set to NULL if the firmware returns an unexpected error in aie2_send_mgmt_msg_wait(). This can later lead to a NULL pointer dereference in aie2_hw_stop().
Fix this by introducing a dedicated helper to destroy mgmt_chann and by adding proper NULL checks before accessing it.
From the CVE record · Linux
The Linux kernel’s accel/amdxdna driver can dereference a NULL management channel during shutdown if firmware returns an unexpected error. This can cause a crash; the input does not establish an attacker path or whether authentication or user interaction is required.
Engineers running Linux kernels with the accel/amdxdna driver should check their kernel; affected versions are not specified.