spi: s3c64xx: fix NULL-deref on driver unbind
CVE-2026-46296
Currently unrated
What is CVE-2026-46296?
In the Linux kernel, the following vulnerability has been resolved:
spi: s3c64xx: fix NULL-deref on driver unbind
A change moving DMA channel allocation from probe() back to s3c64xx_spi_prepare_transfer() failed to remove the corresponding deallocation from remove().
Drop the bogus DMA channel release from remove() to avoid triggering a NULL-pointer dereference on driver unbind.
This issue was flagged by Sashiko when reviewing a controller deregistration fix.
Affected Version(s)
Linux f52b03c707444c5a3d1a0b9c5724f93ddc3c588e < 1108b8722b9ff0cdd3e8aa18d98244fcd93b6760
Linux f52b03c707444c5a3d1a0b9c5724f93ddc3c588e < 323a258f4b1916b5a3098618e036e033b2f2317f
Linux f52b03c707444c5a3d1a0b9c5724f93ddc3c588e < 1b66f16a571a10ba8889ac471755c8af9c5b9266