CVE-2026-43281: mailbox: Prevent out-of-bounds access in fw_mbox_index_xlate()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mailbox: Prevent out-of-bounds access in fw_mbox_index_xlate()
Although it is guided that #mbox-cells must be at least 1, there are many instances of #mbox-cells = <0>; in the device tree. If that is the case and the corresponding mailbox controller does not provide fw_xlate and of_xlate function pointers, fw_mbox_index_xlate()` will be used by default and out-of-bounds accesses could occur due to lack of bounds check in that function.
The Linux kernel CVE team has assigned CVE-2026-43281 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.167 with commit 2662ed331a69c0b551f78af58f12eb629a89a36f Fixed in 6.6.130 with commit 31c4c67dec3362094a6747a171a4848e98542265 Fixed in 6.12.77 with commit 01d9a8c2615d436b2b30c19c1afe9fcd5726ff6d Fixed in 6.18.16 with commit 4caae8168d1b808c7d4ff481295292e3f97f90fb Fixed in 6.19.6 with commit f50b39fd7c72a8734153644ee945ca0d8b2e65ab Fixed in 7.0 with commit fcd7f96c783626c07ee3ed75fa3739a8a2052310
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-43281
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/2662ed331a69c0b551f78af58f12eb629a89a36f https://git.kernel.org/stable/c/31c4c67dec3362094a6747a171a4848e98542265 https://git.kernel.org/stable/c/01d9a8c2615d436b2b30c19c1afe9fcd5726ff6d https://git.kernel.org/stable/c/4caae8168d1b808c7d4ff481295292e3f97f90fb https://git.kernel.org/stable/c/f50b39fd7c72a8734153644ee945ca0d8b2e65ab https://git.kernel.org/stable/c/fcd7f96c783626c07ee3ed75fa3739a8a2052310