CVE-2025-71190: dmaengine: bcm-sba-raid: fix device leak on probe
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: bcm-sba-raid: fix device leak on probe
Make sure to drop the reference taken when looking up the mailbox device during probe on probe failures and on driver unbind.
The Linux kernel CVE team has assigned CVE-2025-71190 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.13 with commit 743e1c8ffe4ee5dd7596556dcc3f022ccde13d7b and fixed in 6.6.122 with commit c80ca7bdff158401440741bdcf9175bd8608580b Issue introduced in 4.13 with commit 743e1c8ffe4ee5dd7596556dcc3f022ccde13d7b and fixed in 6.12.67 with commit db6f1d6d31711e73e6a214c73e6a8fb4cda0483d Issue introduced in 4.13 with commit 743e1c8ffe4ee5dd7596556dcc3f022ccde13d7b and fixed in 6.18.7 with commit 2ed1a9de1f2d727ccae5bc9cc7c63ee3519c0c8b Issue introduced in 4.13 with commit 743e1c8ffe4ee5dd7596556dcc3f022ccde13d7b and fixed in 6.19-rc6 with commit 7c3a46ebf15a9796b763a54272407fdbf945bed8
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-2025-71190
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/dma/bcm-sba-raid.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/c80ca7bdff158401440741bdcf9175bd8608580b https://git.kernel.org/stable/c/db6f1d6d31711e73e6a214c73e6a8fb4cda0483d https://git.kernel.org/stable/c/2ed1a9de1f2d727ccae5bc9cc7c63ee3519c0c8b https://git.kernel.org/stable/c/7c3a46ebf15a9796b763a54272407fdbf945bed8