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

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel's DPU driver can cause a system crash, requiring a patch to add proper callback checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-38622?

CVE-2024-38622 is a medium-severity vulnerability in Linux kernel, published on 21 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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/

Weakness: CWE-476

Which versions are affected by CVE-2024-38622?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-38622?

Apply the vendor's patch.

Is CVE-2024-38622 being exploited?

There is no known exploitation of CVE-2024-38622 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-38622, DEBIAN-CVE-2024-38622, GHSA-243h-qcm4-f6g8, ROOT-OS-DEBIAN-12-CVE-2024-38622, UBUNTU-CVE-2024-38622.

Is CVE-2024-38622 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free