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.
Published: 2026-09-24
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel Null Pointer Dereference (Denial of Service)
Action: Update Kernel
AI Analysis

Impact

A NULL pointer dereference occurs within the Linux kernel when the function spi_get_device_id() returns NULL and the code in spi_get_device_match_data() attempts to use this value. This scenario arises when the system employs driver_override without a corresponding matching SPI ID entry, allowing control of the device identification logic. The result is a kernel crash that can be triggered by supplying an invalid or malformed SPI configuration, leading to an interruption of system services.

Affected Systems

The vulnerability affects all instances of the Linux kernel, as indicated by the vendor name Linux:Linux. No specific kernel versions are listed in the advisory, so any current or older kernel that has not incorporated the patch at the addresses indicated may be susceptible.

Risk and Exploitability

Because the flaw results in a NULL pointer dereference, exploitation could lead to a kernel panic and a denial of service. The CVSS score and EPSS exploitation probability are not provided, and the vulnerability is not listed in the CISA KEV catalog, making precise severity assessment difficult. However, a local attacker able to manipulate driver_override or supply an improperly formatted SPI device could trigger the defect. Remote exploitation would likely require additional local privileges to influence SPI configuration.

Generated by OpenCVE AI on September 25, 2026 at 04:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that was released for this issue, which adds a NULL check to spi_get_device_id().
  • Verify that any use of the driver_override option is accompanied by a matching SPI ID entry; if no match is required, remove or disable driver_override altogether.
  • If an immediate kernel update is not possible, test the configuration in a staging environment to ensure that no driver_override settings can cause a crash, and schedule an update before reapplying those settings.

Generated by OpenCVE AI on September 25, 2026 at 04:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title spi: Add NULL check for spi_get_device_id() in spi_get_device_match_data()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-24T16:03:03.808Z

Reserved: 2026-09-18T17:59:28.792Z

Link: CVE-2026-93825

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:16.193

Modified: 2026-09-24T17:17:16.193

Link: CVE-2026-93825

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T04:45:16Z

Weaknesses