Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-42092

gpio: davinci: Validate the obtained number of IRQs

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < a8d78984fdc105bc1a38b73e98d32b1bc4222684affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < cd75721984337c38a12aeca33ba301d31ca4b3fdaffected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < e44a83bf15c4db053ac6dfe96a23af184c9136d9affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < 70b48899f3f23f98a52c5b1060aefbdc7ba7957baffected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < 89d7008af4945808677662a630643b5ea89c6e8daffected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < 2d83492259ad746b655f196cd5d1be4b3d0a3782affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < c542e51306d5f1eba3af84daa005826223382470affected
  • eb3744a2dd01cb07ce9f556d56d6fe451f0c313a to < 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164affected

Linux Linux

Default version status: affected

  • 4.19affected
  • 0 to < 4.19unaffected
  • 4.19.317 to ≤ 4.19.*unaffected
  • 5.4.279 to ≤ 5.4.*unaffected
  • 5.10.221 to ≤ 5.10.*unaffected
  • 5.15.162 to ≤ 5.15.*unaffected
  • 6.1.97 to ≤ 6.1.*unaffected
  • 6.6.37 to ≤ 6.6.*unaffected
  • 6.9.8 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References