CVE-2026-46225: spi: rspi: fix controller deregistration
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
spi: rspi: fix controller deregistration
Make sure to deregister the controller before releasing underlying resources like DMA during driver unbind.
The Linux kernel CVE team has assigned CVE-2026-46225 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.14 with commit 9e03d05eee4ca45ed12749ef6c26bf616262cdd2 and fixed in 6.6.140 with commit 77defd64b405b680db73d767313fce770d368368 Issue introduced in 3.14 with commit 9e03d05eee4ca45ed12749ef6c26bf616262cdd2 and fixed in 6.12.90 with commit c5090db1b31de3ef4db0cda7e822ab49cb572292 Issue introduced in 3.14 with commit 9e03d05eee4ca45ed12749ef6c26bf616262cdd2 and fixed in 6.18.32 with commit aee76c1dd189562c6678313caec12761f78a9ef3 Issue introduced in 3.14 with commit 9e03d05eee4ca45ed12749ef6c26bf616262cdd2 and fixed in 7.0.9 with commit fee6abd9845c3edd217b0e429d09f764f9a5690e Issue introduced in 3.14 with commit 9e03d05eee4ca45ed12749ef6c26bf616262cdd2 and fixed in 7.1-rc1 with commit 9944fa6726afb1e6eb7e2212764e7da0c97f2dcc
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-46225
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/spi/spi-rspi.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/77defd64b405b680db73d767313fce770d368368 https://git.kernel.org/stable/c/c5090db1b31de3ef4db0cda7e822ab49cb572292 https://git.kernel.org/stable/c/aee76c1dd189562c6678313caec12761f78a9ef3 https://git.kernel.org/stable/c/fee6abd9845c3edd217b0e429d09f764f9a5690e https://git.kernel.org/stable/c/9944fa6726afb1e6eb7e2212764e7da0c97f2dcc