# CVE-2024-42092: gpio: davinci: Validate the obtained number of IRQs

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-07-29T17:35:01.209Z
- Modified: 2026-06-17T07:48:48.713Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before a8d78984fdc105bc1a38b73e98d32b1bc4222684; from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before cd75721984337c38a12aeca33ba301d31ca4b3fd; from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before e44a83bf15c4db053ac6dfe96a23af184c9136d9; from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 70b48899f3f23f98a52c5b1060aefbdc7ba7957b; from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 89d7008af4945808677662a630643b5ea89c6e8d; from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 2d83492259ad746b655f196cd5d1be4b3d0a3782; from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before c542e51306d5f1eba3af84daa005826223382470; from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164; 4.19 (not affected: before 4.19; from 4.19.317 up to 4.19.*; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.97 up to 6.1.*; from 6.6.37 up to 6.6.*; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.19 before 4.19.317; from 4.20 before 5.4.279; from 5.5 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.97; from 6.2 before 6.6.37; from 6.7 before 6.9.8; 6.10

## References

- <https://git.kernel.org/stable/c/a8d78984fdc105bc1a38b73e98d32b1bc4222684> (patch)
- <https://git.kernel.org/stable/c/cd75721984337c38a12aeca33ba301d31ca4b3fd> (patch)
- <https://git.kernel.org/stable/c/e44a83bf15c4db053ac6dfe96a23af184c9136d9> (patch)
- <https://git.kernel.org/stable/c/70b48899f3f23f98a52c5b1060aefbdc7ba7957b> (patch)
- <https://git.kernel.org/stable/c/89d7008af4945808677662a630643b5ea89c6e8d> (patch)
- <https://git.kernel.org/stable/c/2d83492259ad746b655f196cd5d1be4b3d0a3782> (patch)
- <https://git.kernel.org/stable/c/c542e51306d5f1eba3af84daa005826223382470> (patch)
- <https://git.kernel.org/stable/c/7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-42092](https://www.cve.org/CVERecord?id=CVE-2024-42092), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42092](https://nvd.nist.gov/vuln/detail/CVE-2024-42092), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42092 · Whole record: https://cve.day/CVE-2024-42092.json · Rebuilt by cve.day 2026-11-25T22:58:43.348Z
