Skip to content
Heist/ feed
Back to feed
UnratedFix available

gpio: davinci: Validate the obtained number of IRQs

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.317, 5.10.221, 5.15.162, 5.4.279, 6.1.97, 6.6.37, 6.9.8
CVEs
CVE-2024-42092
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:44 UTC · Revision 1

Source evidence

gpio: davinci: Validate the obtained number of IRQs

core-osv · Original source

Published 29 Jul 2024, 17:35 UTC

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.

osv:CVE-2024-42092

Kernel

Fixed versions: 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1.97, 6.6.37, 6.9.8

Complete source record
{
  "id": "a61738677f9b3472c47f8bcc2d542c93db07d934ffc5aa23fe47cee1c6db99d4",
  "url": "https://osv.dev/vulnerability/CVE-2024-42092",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "gpio: davinci: Validate the obtained number of IRQs",
    "summary": "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.",
    "evidence": "osv:CVE-2024-42092",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.317",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.279",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.162",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.97",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.37",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-42092",
      "aliases": [
        "CVE-2024-42092"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42092.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.191508627Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2d83492259ad746b655f196cd5d1be4b3d0a3782",
        "https://git.kernel.org/stable/c/70b48899f3f23f98a52c5b1060aefbdc7ba7957b",
        "https://git.kernel.org/stable/c/7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164",
        "https://git.kernel.org/stable/c/89d7008af4945808677662a630643b5ea89c6e8d",
        "https://git.kernel.org/stable/c/a8d78984fdc105bc1a38b73e98d32b1bc4222684",
        "https://git.kernel.org/stable/c/c542e51306d5f1eba3af84daa005826223382470",
        "https://git.kernel.org/stable/c/cd75721984337c38a12aeca33ba301d31ca4b3fd",
        "https://git.kernel.org/stable/c/e44a83bf15c4db053ac6dfe96a23af184c9136d9",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42092.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-42092",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42092.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-42092",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 490336,
  "published_at": "2024-07-29T17:35:01.209+00:00"
}