CVE Database›Document archive›CVE-2024-42275

CVE-2024-42275

kernel: drm/client: Fix error code in drm_client_buffer_vmap_local()

Loading…

Severity

Moderate

Red Hat Product Security

6.7

CVSS 3.1

Review impact separately from score.

Published · August 17, 2024

Updated · October 30, 2026

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.

Statement

This vulnerability is rated as Moderate severity for Red Hat because triggering the flaw requires local execution with elevated privileges, substantially limiting the threat surface. An improper error return in the Direct Rendering Manager (DRM) client buffer mapping routine can lead to lock inconsistencies or kernel memory corruption. Standard Red Hat Enterprise Linux releases are not affected because their kernels do not include the commit that introduced this flaw.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-393 · Return of Wrong Status Code