accel/amdxdna: Guard management mailbox channel cleanup against NULL pointer
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:
accel/amdxdna: Guard management mailbox channel cleanup against NULL pointer
The management mailbox channel cleanup helpers can be called from error handling paths when mgmt_chann has already been destroyed.
Add NULL checks to xdna_mailbox_free_channel() and xdna_mailbox_stop_channel() so the cleanup path safely returns instead of dereferencing a NULL mailbox channel pointer.
From the CVE record · Linux
The Linux kernel’s accel/amdxdna management mailbox cleanup can dereference a NULL channel pointer if an error-handling path runs after the channel has been destroyed. The input does not establish how an attacker could trigger this path or whether access or user interaction is required.
Engineers running Linux kernels with the accel/amdxdna driver should check their deployments; affected versions were not provided.