pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3a13bb9540dfd7014c5601608afcbbadbbcfd673 and Kernel 8473c3a197b57ff01396f7a2ec6ddf65383820d4.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=f9f4fda15e720686f1b2b436591ab11255e4e85e <3a13bb9540dfd7014c5601608afcbbadbbcfd673, >=f9f4fda15e720686f1b2b436591ab11255e4e85e <8473c3a197b57ff01396f7a2ec6ddf65383820d4 | 3a13bb9540dfd7014c5601608afcbbadbbcfd673, 8473c3a197b57ff01396f7a2ec6ddf65383820d4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket