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: 5.5 Medium
EPSS: < 1% Very Low
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 is 5.5 and the EPSS score is < 1%; 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 October 1, 2026 at 16:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

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 October 1, 2026 at 16:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sat, 03 Oct 2026 11:15:00 +0000


Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


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-10-03T10:57:56.861Z

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-10-03T11:17:52.330

Link: CVE-2026-93825

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-93825 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T16:30:10Z

Weaknesses