CVE-2026-53296: mailbox: mailbox-test: free channels on probe error
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mailbox: mailbox-test: free channels on probe error
On probe error, free the previously obtained channels. This not only prevents a leak, but also UAF scenarios because the client structure will be removed nonetheless because it was allocated with devm.
The Linux kernel CVE team has assigned CVE-2026-53296 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 5.10.258 with commit 0ad8c4a03a358de7811ba1ab8cbd1fe76ad0ff6b Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 5.15.209 with commit 15c4cc3850cfe1b973eb7b63c02314b267f06a64 Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 6.1.175 with commit 187069ccc3474516af32350e20d7e449160fa6de Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 6.6.141 with commit 81c9e7e4030e71391ab479c4c6e17b64802577aa Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 6.12.91 with commit 6c6ce2ccb4fcf1617fec83f91b21aa0265f30701 Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 6.18.33 with commit 742001919653e7313b4e91780c5d108be1692365 Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 7.0.10 with commit 02beb178e2e159daeb8f992d7abb16a37da31664 Issue introduced in 4.4 with commit 8ea4484d0c2bb4e2152261943fa1a3522654b1c7 and fixed in 7.1 with commit c02053a9055d5fdfd32432287cca8958db1d5bc5
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-53296
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-test.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/0ad8c4a03a358de7811ba1ab8cbd1fe76ad0ff6b https://git.kernel.org/stable/c/15c4cc3850cfe1b973eb7b63c02314b267f06a64 https://git.kernel.org/stable/c/187069ccc3474516af32350e20d7e449160fa6de https://git.kernel.org/stable/c/81c9e7e4030e71391ab479c4c6e17b64802577aa https://git.kernel.org/stable/c/6c6ce2ccb4fcf1617fec83f91b21aa0265f30701 https://git.kernel.org/stable/c/742001919653e7313b4e91780c5d108be1692365 https://git.kernel.org/stable/c/02beb178e2e159daeb8f992d7abb16a37da31664 https://git.kernel.org/stable/c/c02053a9055d5fdfd32432287cca8958db1d5bc5