CVE-2024-36960 drm/vmwgfx: Fix invalid reads in fence signaled events

High 7.1 Published Updated

A flaw in the Linux kernel's vmwgfx driver allows out-of-bounds reads, potentially exposing sensitive kernel memory to local attackers.

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

CVE-2024-36960 is a high-severity vulnerability in Debian Debian Linux, published on 3 Jun 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/vmwgfx: Fix invalid reads in fence signaled events

Correctly set the length of the drm_event to the size of the structure that's actually used.

The length of the drm_event was set to the parent structure instead of to the drm_vmw_event_fence which is supposed to be read. drm_read uses the length parameter to copy the event to the user space thus resuling in oob reads.

Weakness: CWE-125

Which versions are affected by CVE-2024-36960?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-36960?

Apply the vendor's patch.

Is CVE-2024-36960 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-36960, DEBIAN-CVE-2024-36960, GHSA-5w4f-cwfr-f344, UBUNTU-CVE-2024-36960.

Is CVE-2024-36960 in your software?

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

Check your SBOMs for free