CVE-2026-53344

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

State
Published
Severity
Not scored
Published
Jul 1, 2026
Updated
Jul 1, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f9f4fda15e720686f1b2b436591ab11255e4e85e to before 3a13bb9540dfd7014c5601608afcbbadbbcfd673Affected
  • f9f4fda15e720686f1b2b436591ab11255e4e85e to before 8473c3a197b57ff01396f7a2ec6ddf65383820d4Affected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.