← CVE Intelligence

CVE-2024-42092

gpio: davinci: Validate the obtained number of IRQs PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before a8d78984fdc105bc1a38b73e98d32b1bc4222684; affected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before cd75721984337c38a12aeca33ba301d31ca4b3fd; affected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before e44a83bf15c4db053ac6dfe96a23af184c9136d9; affected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 70b48899f3f23f98a52c5b1060aefbdc7ba7957b; affected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 89d7008af4945808677662a630643b5ea89c6e8d; affected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 2d83492259ad746b655f196cd5d1be4b3d0a3782; affected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before c542e51306d5f1eba3af84daa005826223382470; affected eb3744a2dd01cb07ce9f556d56d6fe451f0c313a before 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164
Linux / Linuxaffected 4.19; unaffected 0 before 4.19; unaffected 4.19.317 through 4.19.*; unaffected 5.4.279 through 5.4.*; unaffected 5.10.221 through 5.10.*; unaffected 5.15.162 through 5.15.*; unaffected 6.1.97 through 6.1.*; unaffected 6.6.37 through 6.6.*; unaffected 6.9.8 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.