CVE-2024-46729 drm/amd/display: Fix incorrect size calculation for loop

High 7.8 Published Updated

An integer overflow in the Linux kernel's AMD display driver causes a buffer overrun, potentially allowing code execution 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-46729?

CVE-2024-46729 is a high-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: Fix incorrect size calculation for loop

[WHY] fe_clk_en has size of 5 but sizeof(fe_clk_en) has byte size 20 which is lager than the array size.

[HOW] Divide byte size 20 by its element size.

This fixes 2 OVERRUN issues reported by Coverity.

Weakness: CWE-787, CWE-131

Which versions are affected by CVE-2024-46729?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46729?

Apply the vendor's patch.

Is CVE-2024-46729 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-46729, DEBIAN-CVE-2024-46729, GHSA-j54j-xh66-6rpm, ROOT-OS-DEBIAN-11-CVE-2024-46729, ROOT-OS-DEBIAN-12-CVE-2024-46729, ROOT-OS-UBUNTU-2204-CVE-2024-46729 and 1 more.

Is CVE-2024-46729 in your software?

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

Check your SBOMs for free