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

CVE-2024-38622
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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/

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c929ac60b3ed34accd25a052a4833e418900f466 < cefb0a99eddf7dd131121a7b348ffbbe32254ec4 ; affected c929ac60b3ed34accd25a052a4833e418900f466 < 873f67699114452c2a996c4e10faac8ff860c241 ; affected c929ac60b3ed34accd25a052a4833e418900f466 < 9078630ed7f8f25d65d11823e7f2b11a8e2f4f0f ; affected c929ac60b3ed34accd25a052a4833e418900f466 < 530f272053a5e72243a9cb07bb1296af6c346002
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.33 ≤ 6.6.* ; unaffected 6.9.4 ≤ 6.9.* ; unaffected 6.10 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD