CVE-2024-35810

drm/vmwgfx: Fix the lifetime of the bo cursor memory

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

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: Fix the lifetime of the bo cursor memory

The cleanup can be dispatched while the atomic update is still active, which means that the memory acquired in the atomic update needs to not be invalidated by the cleanup. The buffer objects in vmw_plane_state instead of using the builtin map_and_cache were trying to handle the lifetime of the mapped memory themselves, leading to crashes.

Use the map_and_cache instead of trying to manage the lifetime of the buffer objects held by the vmw_plane_state.

Fixes kernel oops'es in IGT's kms_cursor_legacy forked-bo.

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
  • bb6780aa5a1d99e86757c0c96bfae65a46cf839e to before 86cb706a40b7e6b2221ee49a298a65ad9b46c02dAffected
  • bb6780aa5a1d99e86757c0c96bfae65a46cf839e to before 104a5b2772bc7c0715ae7355ccf9d294a472765cAffected
  • bb6780aa5a1d99e86757c0c96bfae65a46cf839e to before ed381800ea6d9a4c7f199235a471c0c48100f0aeAffected
  • bb6780aa5a1d99e86757c0c96bfae65a46cf839e to before 9a9e8a7159ca09af9b1a300a6c8e8b6ff7501c76Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.24 through 6.6.*Not affected
  • 6.7.12 through 6.7.*Not affected
  • 6.8.3 through 6.8.*Not affected
  • 6.9 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.