CVE-2026-80752: Input: psxpad-spi - set driver data before use
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Input: psxpad-spi - set driver data before use
psxpad_spi_suspend() retrieves the controller state with spi_get_drvdata(), but probe never stores it, so suspend dereferences a NULL pointer. Store it during probe.
The Linux kernel CVE team has assigned CVE-2026-80752 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 5.10.266 with commit e980066e434a9c74ff1665ed9140427e95b0ee7c Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 5.15.217 with commit 1bba6bd6861b1e0c8ecf20cd1892f0d3877c02a2 Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 6.1.184 with commit 86531cdfb3a03213e2569deed5195412a4e3f7ee Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 6.6.153 with commit da6b8b05db0cf43e0cc198431fa8ee9739b3b817 Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 6.12.105 with commit 1edcb7ffee7ac4dc35cbe5bbd0e27bac3614ebe4 Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 6.18.46 with commit 8d622c58205adbc8af19864e277386528b671345 Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 7.1.10 with commit 62e25677d1440085381b047ec4984be9b6793759 Issue introduced in 4.12 with commit 8be193c7b1f44d3f4dcb27107df0831709c2deb1 and fixed in 7.2 with commit 732f38c36059e68ba3b4b89c56911d777fd3185c
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-80752
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/input/joystick/psxpad-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/e980066e434a9c74ff1665ed9140427e95b0ee7c https://git.kernel.org/stable/c/1bba6bd6861b1e0c8ecf20cd1892f0d3877c02a2 https://git.kernel.org/stable/c/86531cdfb3a03213e2569deed5195412a4e3f7ee https://git.kernel.org/stable/c/da6b8b05db0cf43e0cc198431fa8ee9739b3b817 https://git.kernel.org/stable/c/1edcb7ffee7ac4dc35cbe5bbd0e27bac3614ebe4 https://git.kernel.org/stable/c/8d622c58205adbc8af19864e277386528b671345 https://git.kernel.org/stable/c/62e25677d1440085381b047ec4984be9b6793759 https://git.kernel.org/stable/c/732f38c36059e68ba3b4b89c56911d777fd3185c