{"id":"CVE-2026-53344","state":"PUBLISHED","title":"pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init\n\nRegmap initialization triggers regcache_maple_populate() which attempts\nSPI read to populate cache. SPI read requires mcp->dev and mcp->addr to\nbe set, without them, NULL pointer dereference occurs during probe.\n\nMove initialization before mcp23s08_spi_regmap_init() call.","publishedAt":"2026-07-01T13:32:24.546Z","updatedAt":"2026-07-01T13:32:24.546Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9f4fda15e720686f1b2b436591ab11255e4e85e","status":"affected","lessThan":"3a13bb9540dfd7014c5601608afcbbadbbcfd673","versionType":"git"},{"version":"f9f4fda15e720686f1b2b436591ab11255e4e85e","status":"affected","lessThan":"8473c3a197b57ff01396f7a2ec6ddf65383820d4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinctrl-mcp23s08_spi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinctrl-mcp23s08_spi.c"]}],"references":["https://git.kernel.org/stable/c/3a13bb9540dfd7014c5601608afcbbadbbcfd673","https://git.kernel.org/stable/c/8473c3a197b57ff01396f7a2ec6ddf65383820d4"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53344.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53344","state":"PUBLISHED","datePublished":"2026-07-01T13:32:24.546Z","dateUpdated":"2026-07-01T13:32:24.546Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.399Z"},"containers":{"cna":{"title":"pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init\n\nRegmap initialization triggers regcache_maple_populate() which attempts\nSPI read to populate cache. SPI read requires mcp->dev and mcp->addr to\nbe set, without them, NULL pointer dereference occurs during probe.\n\nMove initialization before mcp23s08_spi_regmap_init() call."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9f4fda15e720686f1b2b436591ab11255e4e85e","status":"affected","lessThan":"3a13bb9540dfd7014c5601608afcbbadbbcfd673","versionType":"git"},{"version":"f9f4fda15e720686f1b2b436591ab11255e4e85e","status":"affected","lessThan":"8473c3a197b57ff01396f7a2ec6ddf65383820d4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinctrl-mcp23s08_spi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinctrl-mcp23s08_spi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3a13bb9540dfd7014c5601608afcbbadbbcfd673"},{"url":"https://git.kernel.org/stable/c/8473c3a197b57ff01396f7a2ec6ddf65383820d4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-01T13:32:24.546Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}