CVE-2024-47661 drm/amd/display: Avoid overflow from uint32_t to uint8_t

Medium 5.5 Published Updated

An integer overflow in the AMD display driver could lead to unexpected behavior, requiring a kernel patch for mitigation.

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

CVE-2024-47661 is a medium-severity vulnerability in Linux kernel, published on 9 Oct 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: Avoid overflow from uint32_t to uint8_t

[WHAT & HOW] dmub_rb_cmd's ramping_boundary has size of uint8_t and it is assigned 0xFFFF. Fix it by changing it to uint8_t with value of 0xFF.

This fixes 2 INTEGER_OVERFLOW issues reported by Coverity.

Weakness: CWE-190

Which versions are affected by CVE-2024-47661?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-47661?

Apply the vendor's patch.

Is CVE-2024-47661 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-50342, AZL-50345, BELL-CVE-2024-47661, DEBIAN-CVE-2024-47661, GHSA-58qp-x69c-wv98, ROOT-OS-DEBIAN-11-CVE-2024-47661 and 3 more.

Is CVE-2024-47661 in your software?

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

Check your SBOMs for free