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.
Published: 2026-07-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 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 EPSS score is <1%, indicating a very low probability of exploitation. The vulnerability is not in the CISA KEV catalog. An attacker would need local or privileged access to the hardware that drives the MCP23S08 or to load/unload the driver, as the fault is triggered only during driver probe. The primary threat is to availability for local or privileged attackers, with minimal risk of remote compromise.

Generated by OpenCVE AI on August 1, 2026 at 23:35 UTC.

Remediation

No vendor fix or workaround currently provided.

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 1, 2026 at 23:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 00:15:00 +0000


Wed, 01 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 01 Jul 2026 13:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-01T13:32:24.546Z

Reserved: 2026-06-09T07:44:35.399Z

Link: CVE-2026-53344

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-01T14:16:42.480

Modified: 2026-07-23T21:32:16.227

Link: CVE-2026-53344

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-01T00:00:00Z

Links: CVE-2026-53344 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T23:45:03Z

Weaknesses
  • CWE-476

    NULL Pointer Dereference

  • CWE-908

    Use of Uninitialized Resource