CVE-2024-42275

drm/client: Fix error code in drm_client_buffer_vmap_local()

State
Published
Severity
7.8 High
Published
Aug 17, 2024
Updated
Aug 5, 2026
Reserved
Jul 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b4b0193e83cb987143583e2b4011b35331f429bd to before c0f412961653237f52e2f16ee8747fb330bcf074Affected
  • b4b0193e83cb987143583e2b4011b35331f429bd to before b5fbf924f125ba3638cfdc21c0515eb7e76264caAffected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.10.4 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.