Skip to contentSkip to conversation

CVE-2026-80654: soc: xilinx: Shutdown and free rx mailbox channel

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

soc: xilinx: Shutdown and free rx mailbox channel

A mbox rx channel is requested using mbox_request_channel_byname() in probe. In remove callback, the rx mailbox channel is cleaned up when the rx_chan is NULL due to incorrect condition check. The mailbox channel is not shutdown and it can receive messages even after the device removal. This leads to use after free. Also the channel resources are not freed. Fix this by checking the rx_chan correctly.

The Linux kernel CVE team has assigned CVE-2026-80654 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.6 with commit ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df and fixed in 6.12.97 with commit b0f748c563921a7918c78e6a599cefd54de7d688
	Issue introduced in 5.6 with commit ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df and fixed in 6.18.40 with commit a83e77d1e52c01c50096e6e97c57d34e0590d628
	Issue introduced in 5.6 with commit ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df and fixed in 7.1.5 with commit b5d2240c2c7bc8370e7ba54a2e1fe3919f55aee5
	Issue introduced in 5.6 with commit ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df and fixed in 7.2 with commit fdee7c66c0d7b6869c36b9f9a915abf29ab5b550

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-80654

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/soc/xilinx/zynqmp_power.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/b0f748c563921a7918c78e6a599cefd54de7d688
	https://git.kernel.org/stable/c/a83e77d1e52c01c50096e6e97c57d34e0590d628
	https://git.kernel.org/stable/c/b5d2240c2c7bc8370e7ba54a2e1fe3919f55aee5
	https://git.kernel.org/stable/c/fdee7c66c0d7b6869c36b9f9a915abf29ab5b550