Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f9f4fda15e720686f1b2b436591ab11255e4e85e before 3a13bb9540dfd7014c5601608afcbbadbbcfd673; affected f9f4fda15e720686f1b2b436591ab11255e4e85e before 8473c3a197b57ff01396f7a2ec6ddf65383820d4 |
| Linux / Linux | affected 6.19; unaffected 0 before 6.19; unaffected 7.0.13 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.