CVE-2024-42275 drm/client: Fix error code in drm_client_buffer_vmap_local()

High 7.8 Published Updated

A bug in the Linux kernel DRM client causes uninitialized memory access and locking issues, potentially leading to system crashes.

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

CVE-2024-42275 is a high-severity vulnerability in Linux kernel, published on 17 Aug 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/client: Fix error code in drm_client_buffer_vmap_local()

This function accidentally returns zero/success on the failure path. It leads to locking issues and an uninitialized *map_copy in the caller.

Weakness: CWE-824

Which versions are affected by CVE-2024-42275?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42275?

Apply the vendor's patch.

Is CVE-2024-42275 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-42275, DEBIAN-CVE-2024-42275, GHSA-gfr5-cggc-pq3j, UBUNTU-CVE-2024-42275.

Is CVE-2024-42275 in your software?

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

Check your SBOMs for free