CVE-2023-52649 drm/vkms: Avoid reading beyond LUT array

High 7.8 Published Updated

A local attacker can trigger an out-of-bounds read in the Linux kernel's virtual KMS driver, potentially leaking memory or causing a system crash.

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-2023-52649?

CVE-2023-52649 is a high-severity memory corruption vulnerability in Linux kernel, published on 1 May 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/vkms: Avoid reading beyond LUT array

When the floor LUT index (drm_fixp2int(lut_index) is the last index of the array the ceil LUT index will point to an entry beyond the array. Make sure we guard against it and use the value of the floor LUT index.

v3: - Drop bits from commit description that didn't contribute anything of value

Weakness: CWE-129

Which versions are affected by CVE-2023-52649?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52649?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-52649 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52649, DEBIAN-CVE-2023-52649, GHSA-vpc3-576f-68c6, UBUNTU-CVE-2023-52649.

Is CVE-2023-52649 in your software?

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

Check your SBOMs for free