CVE-2026-46226: spi: fsl: fix controller deregistration
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
spi: fsl: 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-46226 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.3 with commit 4178b6b1b595003cd6e04711b449797a582e44f5 and fixed in 6.6.140 with commit 562d954a144950ec2aa6a874ae657cb3fa31fe53 Issue introduced in 4.3 with commit 4178b6b1b595003cd6e04711b449797a582e44f5 and fixed in 6.12.90 with commit e888308222375ac28bae69134dae288178718a96 Issue introduced in 4.3 with commit 4178b6b1b595003cd6e04711b449797a582e44f5 and fixed in 6.18.32 with commit ca3195c7b88362d7c81efe685948663a9f9db0e6 Issue introduced in 4.3 with commit 4178b6b1b595003cd6e04711b449797a582e44f5 and fixed in 7.0.9 with commit 5750743a39c9d46ac9fcf57ffe000956da4942cf Issue introduced in 4.3 with commit 4178b6b1b595003cd6e04711b449797a582e44f5 and fixed in 7.1-rc1 with commit 9b7abfed4c3754062d1f3ffd452e65a38667f586
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-46226
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-fsl-spi.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/562d954a144950ec2aa6a874ae657cb3fa31fe53 https://git.kernel.org/stable/c/e888308222375ac28bae69134dae288178718a96 https://git.kernel.org/stable/c/ca3195c7b88362d7c81efe685948663a9f9db0e6 https://git.kernel.org/stable/c/5750743a39c9d46ac9fcf57ffe000956da4942cf https://git.kernel.org/stable/c/9b7abfed4c3754062d1f3ffd452e65a38667f586