CVE-2024-42092

Source
https://cve.org/CVERecord?id=CVE-2024-42092
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42092.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42092
Downstream
Related
Published
2024-07-29T17:35:01.209Z
Modified
2026-05-28T03:55:52.858384143Z
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/osv-test-cve-osv-conversion/osv-output/CVE-2024-42092.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.19.317
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.279
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.221
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.162
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.97
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.37
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.8

Database specific

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