CVE-2026-80648

Description

A flaw was found in the pinctrl (pin controller) driver for SpacemiT systems in the Linux kernel. An incorrect NULL check in the spacemit_pin_set_config() function can lead to a NULL pointer dereference. This occurs when the system attempts to configure a pin that is not present in the SoC's pin table, potentially causing a system crash and resulting in a Denial of Service (DoS).

Statement

A NULL pointer dereference flaw in the Linux kernel's SpacemiT K1 pin controller (pinctrl) driver has been rated as Low impact by Red Hat Product Security. The spacemit_pin_set_config() function tests the numeric pin ID instead of the per-pin descriptor returned by spacemit_get_pin(); as a result, attempting to configure a pin that is not present in the SoC's pin table can dereference a NULL pointer and crash the kernel, causing a local denial of service. The same incorrect check also silently drops the PAD configuration write for pin 0 of every pin group, so pin configuration (for example drive-strength or bias settings) may not be applied as expected. Triggering this flaw requires local access with high privileges to control platform pin configuration (for example via device tree changes), and it does not affect confidentiality or integrity. The vulnerable code was introduced together with SpacemiT K1 pinctrl support and is only present in Red Hat Enterprise Linux 10.3 and 10.4; earlier RHEL releases, RHEL 10.0.z and 10.2.z, and the Red Hat In-Vehicle OS streams do not contain the affected code and are therefore not affected. For the affected RHEL 10.3 and 10.4 streams the fix is deferred to a future maintenance update because the flaw is low severity and requires privileged local access to trigger; the residual risk is limited to a local denial of service or incorrect pin configuration on SpacemiT-based systems.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.

Integrity,Confidentiality

Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory

In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.