gpio: shared: gracefully handle no-device lookup of shared GPIOs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1, Kernel cf73c3fc03c43a8a86fd487c62390b4744eff9ec and Kernel 7.2.13.
In the Linux kernel, the following vulnerability has been resolved: gpio: shared: gracefully handle no-device lookup of shared GPIOs We use platform lookup tables for shared GPIOs. This mechanism needs a struct device to work so fwnode-based lookup with no device associated currently causes a NULL-pointer deference. Adding this functionality will require a larger rework and it has never worked anyway so add a check that allows the kernel to gracefully handle this situation with an error ahead of implementing that functionality as a new feature.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=a060b8c511abb0997381b397e52149a5e3e5259a <7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1, >=a060b8c511abb0997381b397e52149a5e3e5259a <cf73c3fc03c43a8a86fd487c62390b4744eff9ec | 7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1, cf73c3fc03c43a8a86fd487c62390b4744eff9ec |
| linux-kernel: Kernel | >=6.19.0 <7.2.13 | 7.2.13 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket