CVE-2024-42092
gpio: davinci: Validate the obtained number of IRQs
Check your servers for CVE-2024-42092
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42092 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before a8d78984fdc105bc1a38b73e98d32b1bc4222684 affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before cd75721984337c38a12aeca33ba301d31ca4b3fd affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before e44a83bf15c4db053ac6dfe96a23af184c9136d9 affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before 70b48899f3f23f98a52c5b1060aefbdc7ba7957b affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before 89d7008af4945808677662a630643b5ea89c6e8d affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before 2d83492259ad746b655f196cd5d1be4b3d0a3782 affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before c542e51306d5f1eba3af84daa005826223382470 affected from eb3744a2dd01cb07ce9f556d56d6fe451f0c313a, before 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 4.19.317 up to and including 4.19.* unaffected from 5.4.279 up to and including 5.4.* unaffected from 5.10.221 up to and including 5.10.* unaffected from 5.15.162 up to and including 5.15.* unaffected from 6.1.97 up to and including 6.1.* unaffected from 6.6.37 up to and including 6.6.* unaffected from 6.9.8 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42092 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42092
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-42092
trivy image --scanners vuln IMAGE | grep CVE-2024-42092
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a8d78984fdc105bc1a38b73e98d32b1bc4222684 git.kernel.org
- https://git.kernel.org/stable/c/cd75721984337c38a12aeca33ba301d31ca4b3fd git.kernel.org
- https://git.kernel.org/stable/c/e44a83bf15c4db053ac6dfe96a23af184c9136d9 git.kernel.org
- https://git.kernel.org/stable/c/70b48899f3f23f98a52c5b1060aefbdc7ba7957b git.kernel.org
- https://git.kernel.org/stable/c/89d7008af4945808677662a630643b5ea89c6e8d git.kernel.org
- https://git.kernel.org/stable/c/2d83492259ad746b655f196cd5d1be4b3d0a3782 git.kernel.org
- https://git.kernel.org/stable/c/c542e51306d5f1eba3af84daa005826223382470 git.kernel.org
- https://git.kernel.org/stable/c/7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-42092 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse