---
id: CVE-2026-93825
title: |-
  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 whe…
summary: |-
  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 whe…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= bd1be85dbbbd4076e8dbdceefc3c4d2c673e0075 <
    1fa4484116d14a0356edfeb6ecc7ea3b370911b1
  - >-
    Linux >= 027eaeaf3294607104e90e84cec3f55e792cab22 <
    aa966ccea3584a70c9a6030f4a16577030db35e5
  - >-
    Linux >= aea672d054a21782ed8450c75febb6ba3c208ca4 <
    359b3442e66c595ed03e5a6b0493b66600c63941
  - >-
    Linux >= aea672d054a21782ed8450c75febb6ba3c208ca4 <
    3fcd9415144f4fbd21e1bef35a7f8dbd734f607d
  - >-
    Linux >= aea672d054a21782ed8450c75febb6ba3c208ca4 <
    72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8
  - >-
    Linux >= aea672d054a21782ed8450c75febb6ba3c208ca4 <
    f1b061b4d4c6cbf861319ba954caa80145cf018f
  - Linux >= 5.15.146 < 5.15.222
  - Linux >= 6.1.71 < 6.1.189
  - Linux 6.2
published: '2026-09-24'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:17:52.330'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93825'
references:
  - url: 'https://git.kernel.org/stable/c/1fa4484116d14a0356edfeb6ecc7ea3b370911b1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/359b3442e66c595ed03e5a6b0493b66600c63941'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3fcd9415144f4fbd21e1bef35a7f8dbd734f607d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/aa966ccea3584a70c9a6030f4a16577030db35e5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f1b061b4d4c6cbf861319ba954caa80145cf018f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93825.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-93825'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540476'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-93825'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93825'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-93825.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00173
epssPercentile: 0.06635
cvssSource: vendor
ingestedAt: '2026-09-24T16:47:15.890Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93825.json)
