CVE-2024-26648 drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel's AMD display driver can cause a system crash, requiring a kernel patch.

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-26648?

CVE-2024-26648 is a medium-severity vulnerability in Linux kernel, published on 26 Mar 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/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()

In edp_setup_replay(), 'struct dc *dc' & 'struct dmub_replay *replay' was dereferenced before the pointer 'link' & 'replay' NULL check.

Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() warn: variable dereferenced before check 'link' (see line 933)

Weakness: CWE-476

Which versions are affected by CVE-2024-26648?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26648?

Apply the vendor's patch.

Is CVE-2024-26648 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-26648, DEBIAN-CVE-2024-26648, GHSA-g63x-ch35-x5p5, ROOT-OS-DEBIAN-12-CVE-2024-26648, ROOT-OS-UBUNTU-2204-CVE-2024-26648, UBUNTU-CVE-2024-26648.

Is CVE-2024-26648 in your software?

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

Check your SBOMs for free