CVE-2024-42092

Source
https://cve.org/CVERecord?id=CVE-2024-42092
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42092.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42092
Downstream
Related
Published
2024-07-29T17:35:01.209Z
Modified
2026-03-14T12:35:16.163447Z
Summary
gpio: davinci: Validate the obtained number of IRQs
Details

In the Linux kernel, the following vulnerability has been resolved:

gpio: davinci: Validate the obtained number of IRQs

Value of pdata->gpiounbanked 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 davincigpio_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42092.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
eb3744a2dd01cb07ce9f556d56d6fe451f0c313a
Fixed
a8d78984fdc105bc1a38b73e98d32b1bc4222684
Fixed
cd75721984337c38a12aeca33ba301d31ca4b3fd
Fixed
e44a83bf15c4db053ac6dfe96a23af184c9136d9
Fixed
70b48899f3f23f98a52c5b1060aefbdc7ba7957b
Fixed
89d7008af4945808677662a630643b5ea89c6e8d
Fixed
2d83492259ad746b655f196cd5d1be4b3d0a3782
Fixed
c542e51306d5f1eba3af84daa005826223382470
Fixed
7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42092.json"