CVE-2026-80657: accel/amdxdna: Guard management mailbox channel cleanup against NULL pointer
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-80657 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit b87f920b934426a24d54613f12ed67c03ae05024 and fixed in 7.1.5 with commit 83d6d375f357ed2702b28d739511aad56d485de7 Issue introduced in 6.14 with commit b87f920b934426a24d54613f12ed67c03ae05024 and fixed in 7.2 with commit 506255d46bdb93a281cf39e72abbca124f5c7a1b
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80657
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/accel/amdxdna/amdxdna_mailbox.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/83d6d375f357ed2702b28d739511aad56d485de7 https://git.kernel.org/stable/c/506255d46bdb93a281cf39e72abbca124f5c7a1b