What’s Vulnerable › Vulnerabilities
CVE-2026-93825: spi: Add NULL check for spi_get_device_id() in spi_get_device_match_data()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-24 · updated 2026-10-03
Description
In the Linux kernel, the following vulnerability has been resolved: spi: Add NULL check for spi_get_device_id() in spi_get_device_match_data() Prevent NULL pointer dereference when spi_get_device_id() returns NULL, which can happen when using driver_override without matching SPI ID entry.
Affected products
- Linux kernel: from 5.15.146 before 5.15.222; from 6.1.71 before 6.1.189; 6.2 — fixed in 5.15.222, 6.1.189, 7.2
How to fix
Upgrade to a fixed version: Linux kernel 5.15.222, 6.1.189, 7.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1fa4484116d14a0356edfeb6ecc7ea3b370911b1
- https://git.kernel.org/stable/c/359b3442e66c595ed03e5a6b0493b66600c63941
- https://git.kernel.org/stable/c/3fcd9415144f4fbd21e1bef35a7f8dbd734f607d
- https://git.kernel.org/stable/c/72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8
- https://git.kernel.org/stable/c/aa966ccea3584a70c9a6030f4a16577030db35e5
- https://git.kernel.org/stable/c/f1b061b4d4c6cbf861319ba954caa80145cf018f
Get alerted when CVE-2026-93825 or the next vulnerability affects your stack