CVE-2024-42092

gpio: davinci: Validate the obtained number of IRQs

State
Published
Severity
Not scored
Published
Jul 29, 2024
Updated
May 11, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before a8d78984fdc105bc1a38b73e98d32b1bc4222684Affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before cd75721984337c38a12aeca33ba301d31ca4b3fdAffected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before e44a83bf15c4db053ac6dfe96a23af184c9136d9Affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before 70b48899f3f23f98a52c5b1060aefbdc7ba7957bAffected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before 89d7008af4945808677662a630643b5ea89c6e8dAffected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before 2d83492259ad746b655f196cd5d1be4b3d0a3782Affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before c542e51306d5f1eba3af84daa005826223382470Affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to before 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164Affected
LinuxLinux
  • 4.19Affected
  • before 4.19Not affected
  • 4.19.317 through 4.19.*Not affected
  • 5.4.279 through 5.4.*Not affected
  • 5.10.221 through 5.10.*Not affected
  • 5.15.162 through 5.15.*Not affected
  • 6.1.97 through 6.1.*Not affected
  • 6.6.37 through 6.6.*Not affected
  • 6.9.8 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.