# CVE-2026-93825: spi: Add NULL check for spi_get_device_id() in spi_get_device_match_data()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-24T16:03:03.808Z
- Modified: 2026-10-03T11:17:52.330Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bd1be85dbbbd4076e8dbdceefc3c4d2c673e0075 before 1fa4484116d14a0356edfeb6ecc7ea3b370911b1; from 027eaeaf3294607104e90e84cec3f55e792cab22 before aa966ccea3584a70c9a6030f4a16577030db35e5; from aea672d054a21782ed8450c75febb6ba3c208ca4 before 359b3442e66c595ed03e5a6b0493b66600c63941; from aea672d054a21782ed8450c75febb6ba3c208ca4 before 3fcd9415144f4fbd21e1bef35a7f8dbd734f607d; from aea672d054a21782ed8450c75febb6ba3c208ca4 before 72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8; from aea672d054a21782ed8450c75febb6ba3c208ca4 before f1b061b4d4c6cbf861319ba954caa80145cf018f; from 5.15.146 before 5.15.222; from 6.1.71 before 6.1.189; 6.2 (not affected: before 6.2; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/1fa4484116d14a0356edfeb6ecc7ea3b370911b1>
- <https://git.kernel.org/stable/c/aa966ccea3584a70c9a6030f4a16577030db35e5>
- <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/f1b061b4d4c6cbf861319ba954caa80145cf018f>

## Sources

- CVE List: [CVE-2026-93825](https://www.cve.org/CVERecord?id=CVE-2026-93825), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2026-93825](https://nvd.nist.gov/vuln/detail/CVE-2026-93825), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2026-93825 · Whole record: https://cve.day/CVE-2026-93825.json · Rebuilt by cve.day 2026-11-25T22:59:40.838Z
