gpio: davinci: Validate the obtained number of IRQs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2d83492259ad746b655f196cd5d1be4b3d0a3782, Kernel 70b48899f3f23f98a52c5b1060aefbdc7ba7957b, Kernel 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: gpio: davinci: Validate the obtained number of IRQs Value of pdata->gpio_unbanked is taken from Device Tree. In case of broken DT due to any error this value can be any. Without this value validation there can be out of chips->irqs array boundaries access in davinci_gpio_probe(). Validate the obtained nirq value so that it won't exceed the maximum number of IRQs per bank. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.19, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <2d83492259ad746b655f196cd5d1be4b3d0a3782, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <70b48899f3f23f98a52c5b1060aefbdc7ba7957b, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <89d7008af4945808677662a630643b5ea89c6e8d, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <a8d78984fdc105bc1a38b73e98d32b1bc4222684, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <c542e51306d5f1eba3af84daa005826223382470, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <cd75721984337c38a12aeca33ba301d31ca4b3fd, >=eb3744a2dd01cb07ce9f556d56d6fe451f0c313a <e44a83bf15c4db053ac6dfe96a23af184c9136d9 | 2d83492259ad746b655f196cd5d1be4b3d0a3782, 70b48899f3f23f98a52c5b1060aefbdc7ba7957b, 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164, 89d7008af4945808677662a630643b5ea89c6e8d, a8d78984fdc105bc1a38b73e98d32b1bc4222684, c542e51306d5f1eba3af84daa005826223382470, cd75721984337c38a12aeca33ba301d31ca4b3fd, e44a83bf15c4db053ac6dfe96a23af184c9136d9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket