CVE-2024-26661 drm/amd/display: Add NULL test for 'timing generator' in 'dcn21_set_pipe()'

Medium 5.5 Published Updated

A missing NULL check in the AMD display driver can cause a kernel crash, leading to denial of service.

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

CVE-2024-26661 is a medium-severity vulnerability in Linux kernel, published on 2 Apr 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: Add NULL test for 'timing generator' in 'dcn21_set_pipe()'

In "u32 otg_inst = pipe_ctx->stream_res.tg->inst;" pipe_ctx->stream_res.tg could be NULL, it is relying on the caller to ensure the tg is not NULL.

Weakness: CWE-476

Which versions are affected by CVE-2024-26661?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26661?

Apply the vendor's patch.

Is CVE-2024-26661 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-59636, BELL-CVE-2024-26661, DEBIAN-CVE-2024-26661, GHSA-9xj7-mrgq-4ccq, ROOT-OS-DEBIAN-11-CVE-2024-26661, ROOT-OS-DEBIAN-12-CVE-2024-26661 and 1 more.

Is CVE-2024-26661 in your software?

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

Check your SBOMs for free