Lucene search

K
cveLinuxCVE-2024-42092
HistoryJul 29, 2024 - 6:15 p.m.

CVE-2024-42092

2024-07-2918:15:11
Linux
web.nvd.nist.gov
40
linux kernel
cve-2024-42092
gpio validation
device tree
linux verification center
svace

AI Score

6.5

Confidence

High

EPSS

0

Percentile

13.5%

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 configurations

Vulners
Node
linuxlinux_kernelRange4.194.19.317
OR
linuxlinux_kernelRange4.20.05.4.279
OR
linuxlinux_kernelRange5.5.05.10.221
OR
linuxlinux_kernelRange5.11.05.15.162
OR
linuxlinux_kernelRange5.16.06.1.97
OR
linuxlinux_kernelRange6.2.06.6.37
OR
linuxlinux_kernelRange6.7.06.9.8
OR
linuxlinux_kernelRange6.10.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpio/gpio-davinci.c"
    ],
    "versions": [
      {
        "version": "eb3744a2dd01",
        "lessThan": "a8d78984fdc1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb3744a2dd01",
        "lessThan": "cd7572198433",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb3744a2dd01",
        "lessThan": "e44a83bf15c4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb3744a2dd01",
        "lessThan": "70b48899f3f2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb3744a2dd01",
        "lessThan": "89d7008af494",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb3744a2dd01",
        "lessThan": "2d83492259ad",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb3744a2dd01",
        "lessThan": "c542e51306d5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "eb3744a2dd01",
        "lessThan": "7aa9b96e9a73",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpio/gpio-davinci.c"
    ],
    "versions": [
      {
        "version": "4.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.317",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.279",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.221",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.162",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.97",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.37",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.8",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

High

EPSS

0

Percentile

13.5%