Lucene search

K
cvelistLinuxCVELIST:CVE-2024-38622
HistoryJun 21, 2024 - 10:18 a.m.

CVE-2024-38622 drm/msm/dpu: Add callback function pointer check before its call

2024-06-2110:18:15
Linux
www.cve.org
2
linux kernel
vulnerability
drm/msm/dpu
callback function pointer
svace
patchwork

0.0004 Low

EPSS

Percentile

15.7%

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/

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-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-38622