CVE-2026-53344

pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init

Published Jul 1, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init

Regmap initialization triggers regcache_maple_populate() which attempts
SPI read to populate cache. SPI read requires mcp->dev and mcp->addr to
be set, without them, NULL pointer dereference occurs during probe.

Move initialization before mcp23s08_spi_regmap_init() call.

Analysis

AI-generated

Technical impact

The McP23s08 pincontrol driver performs a regmap initialization that triggers a cache population via an SPI read. If mcp->dev and mcp->addr are not initialized beforehand, the SPI read dereferences a NULL pointer, resulting in a kernel panic. This flaw is a classic null pointer dereference, classified as CWE‑476 and CWE‑908, and can bring the entire operating system offline when a vulnerable driver is probed.

Affected Systems

Linux kernel versions prior to the commit that moves mcp->dev and mcp->addr initialization before regmap init are affected. Any distribution shipping such kernels will load the MCP23S08 pinctrl module when matching hardware is present, meaning deployments that use MCP23S08 I/O expanders during boot or runtime are potentially impacted. Older kernels on systems without the update, especially those with the module enabled, are at risk.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score of <1% points to a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need local or privileged access to the MCP23S08 hardware or to load or unload the driver, because the fault occurs only during driver probe. Therefore, the primary threat is to system availability for locally or privileged attackers, with minimal risk of remote compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commit moving mcp->dev and mcp->addr initialization before regmap_init.
  • If an update is not immediately available, prevent the MCP23S08 pinctrl module from loading by blacklisting it during boot or at runtime.
  • As a temporary fix, apply an in-source patch that performs the required initialization before regmap_init until an official update is released.

Generated by OpenCVE AI on August 12, 2026 at 09:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init Regmap initialization triggers regcache_maple_populate() which attempts SPI read to populate cache. SPI read requires mcp->dev and mcp->addr to be set, without them, NULL pointer dereference occurs during probe. Move initialization before mcp23s08_spi_regmap_init() call.
Title pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-476

    NULL Pointer Dereference

  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 1, 2026, 1:32 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jul 1, 2026, 2:16 PM
Modified
Jul 23, 2026, 9:32 PM
Severity
Moderate
Public date
Jul 1, 2026, 12:00 AM