---
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: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    3fcd9415144f4fbd21e1bef35a7f8dbd734f607d
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    f1b061b4d4c6cbf861319ba954caa80145cf018f
  - Linux < 6.12.111
  - Linux < 6.18.53
  - Linux (all versions)
published: '2026-09-24'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T13:17:23.310'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93825'
references:
  - 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/f1b061b4d4c6cbf861319ba954caa80145cf018f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
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.
