Lucene search

K
cveLinuxCVE-2024-38622
HistoryJun 21, 2024 - 11:15 a.m.

CVE-2024-38622

2024-06-2111:15:11
Linux
web.nvd.nist.gov
31
linux kernel
vulnerability
resolved
callback function
conditional return
linux verification center
svace
patchwork
freedesktop.

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

15.6%

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/dpu: Add callback function pointer check before its call

In dpu_core_irq_callback_handler() callback function pointer is compared to NULL,
but then callback function is unconditionally called by this pointer.
Fix this bug by adding conditional return.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Patchwork: https://patchwork.freedesktop.org/patch/588237/

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.196.6.33
OR
linuxlinux_kernelRange6.7.06.9.4
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/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c"
    ],
    "versions": [
      {
        "version": "c929ac60b3ed",
        "lessThan": "873f67699114",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c929ac60b3ed",
        "lessThan": "9078630ed7f8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c929ac60b3ed",
        "lessThan": "530f272053a5",
        "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/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c"
    ],
    "versions": [
      {
        "version": "5.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.4",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

15.6%