Skip to contentSkip to conversation

CVE-2026-53295: mailbox: add sanity check for channel array

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 26

lore
Share & tools
lore
#0 lore raw

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

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

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

mailbox: add sanity check for channel array

Fail gracefully if there is no channel array attached to the mailbox controller. Otherwise the later dereference will cause an OOPS which might not be seen because mailbox controllers might instantiate very early. Remove the comment explaining the obvious while here.

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

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

	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 5.10.258 with commit 5cc3300fab262b26c28bc2fc06df693410c3840b
	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 5.15.209 with commit 0f11444271110d9b5bc6316a153c6431abda899c
	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 6.1.175 with commit d44872a569b8fbacde457ff2587a775e5004bb79
	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 6.6.141 with commit 14aed0d4e58389cc6a88acf8610b12d3e476272b
	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 6.12.91 with commit 6362c4a7d7e21e68cd9aa04df7cde16befba3a4b
	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 6.18.33 with commit 9dd7489943324298bb0f385495795a82f1dd6507
	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 7.0.10 with commit 37792091ab28ba030fd8d61184c47d4d51294170
	Issue introduced in 3.18 with commit 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c and fixed in 7.1 with commit c1aad75595fb67edc7fda8af249d3b886efa1be9

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

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/mailbox/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/5cc3300fab262b26c28bc2fc06df693410c3840b
	https://git.kernel.org/stable/c/0f11444271110d9b5bc6316a153c6431abda899c
	https://git.kernel.org/stable/c/d44872a569b8fbacde457ff2587a775e5004bb79
	https://git.kernel.org/stable/c/14aed0d4e58389cc6a88acf8610b12d3e476272b
	https://git.kernel.org/stable/c/6362c4a7d7e21e68cd9aa04df7cde16befba3a4b
	https://git.kernel.org/stable/c/9dd7489943324298bb0f385495795a82f1dd6507
	https://git.kernel.org/stable/c/37792091ab28ba030fd8d61184c47d4d51294170
	https://git.kernel.org/stable/c/c1aad75595fb67edc7fda8af249d3b886efa1be9