CVE-2024-46815 drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]

High 7.1 Published Updated

A missing check in the AMD display driver allows a negative index access, potentially causing a system crash or 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-46815?

CVE-2024-46815 is a high-severity vulnerability in Linux kernel, published on 27 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: Check num_valid_sets before accessing reader_wm_sets[]

[WHY & HOW] num_valid_sets needs to be checked to avoid a negative index when accessing reader_wm_sets[num_valid_sets - 1].

This fixes an OVERRUN issue reported by Coverity.

Which versions are affected by CVE-2024-46815?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46815?

Apply the vendor's patch.

Is CVE-2024-46815 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-46815, DEBIAN-CVE-2024-46815, GHSA-fxcf-gm2j-7vh5, UBUNTU-CVE-2024-46815.

Is CVE-2024-46815 in your software?

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

Check your SBOMs for free