CVE-2024-46776 drm/amd/display: Run DC_LOG_DC after checking link->link_enc

Medium 5.5 Published Updated

A null pointer dereference in the AMD display driver can cause a system crash when logging occurs before checking a link encoder pointer.

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

CVE-2024-46776 is a medium-severity vulnerability in Linux kernel, published on 18 Sep 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: Run DC_LOG_DC after checking link->link_enc

[WHAT] The DC_LOG_DC should be run after link->link_enc is checked, not before.

This fixes 1 REVERSE_INULL issue reported by Coverity.

Weakness: CWE-476

Which versions are affected by CVE-2024-46776?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46776?

Apply the vendor's patch.

Is CVE-2024-46776 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-53262, BELL-CVE-2024-46776, DEBIAN-CVE-2024-46776, GHSA-rxvg-52xh-5pv7, ROOT-OS-DEBIAN-11-CVE-2024-46776, ROOT-OS-DEBIAN-12-CVE-2024-46776 and 1 more.

Is CVE-2024-46776 in your software?

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

Check your SBOMs for free