Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < a8d78984fdc105bc1a38b73e98d32b1bc4222684; >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < cd75721984337c38a12aeca33ba301d31ca4b3fd; >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < e44a83bf15c4db053ac6dfe96a23af184c9136d9; >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < 70b48899f3f23f98a52c5b1060aefbdc7ba7957b; >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < 89d7008af4945808677662a630643b5ea89c6e8d; >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < 2d83492259ad746b655f196cd5d1be4b3d0a3782; >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < c542e51306d5f1eba3af84daa005826223382470; >= eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, < 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164 |
| Linux | Linux | 4.19 |
References
- https://git.kernel.org/stable/c/2d83492259ad746b655f196cd5d1be4b3d0a3782Patch
- https://git.kernel.org/stable/c/70b48899f3f23f98a52c5b1060aefbdc7ba7957bPatch
- https://git.kernel.org/stable/c/7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164Patch
- https://git.kernel.org/stable/c/89d7008af4945808677662a630643b5ea89c6e8dPatch
- https://git.kernel.org/stable/c/a8d78984fdc105bc1a38b73e98d32b1bc4222684Patch
- https://git.kernel.org/stable/c/c542e51306d5f1eba3af84daa005826223382470Patch
- https://git.kernel.org/stable/c/cd75721984337c38a12aeca33ba301d31ca4b3fdPatch
- https://git.kernel.org/stable/c/e44a83bf15c4db053ac6dfe96a23af184c9136d9Patch
- https://git.kernel.org/stable/c/2d83492259ad746b655f196cd5d1be4b3d0a3782Patch
- https://git.kernel.org/stable/c/70b48899f3f23f98a52c5b1060aefbdc7ba7957bPatch
- https://git.kernel.org/stable/c/7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164Patch
- https://git.kernel.org/stable/c/89d7008af4945808677662a630643b5ea89c6e8dPatch
- https://git.kernel.org/stable/c/a8d78984fdc105bc1a38b73e98d32b1bc4222684Patch
- https://git.kernel.org/stable/c/c542e51306d5f1eba3af84daa005826223382470Patch
- https://git.kernel.org/stable/c/cd75721984337c38a12aeca33ba301d31ca4b3fdPatch
- https://git.kernel.org/stable/c/e44a83bf15c4db053ac6dfe96a23af184c9136d9Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Timeline
- Published
- Jul 29, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Modified