# CVE-2024-35810: drm/vmwgfx: Fix the lifetime of the bo cursor memory

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-17T13:23:16.829Z
- Modified: 2026-08-05T11:30:04.778Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bb6780aa5a1d99e86757c0c96bfae65a46cf839e before 86cb706a40b7e6b2221ee49a298a65ad9b46c02d; from bb6780aa5a1d99e86757c0c96bfae65a46cf839e before 104a5b2772bc7c0715ae7355ccf9d294a472765c; from bb6780aa5a1d99e86757c0c96bfae65a46cf839e before ed381800ea6d9a4c7f199235a471c0c48100f0ae; from bb6780aa5a1d99e86757c0c96bfae65a46cf839e before 9a9e8a7159ca09af9b1a300a6c8e8b6ff7501c76; 6.2 (not affected: before 6.2; from 6.6.24 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.2 before 6.6.24; from 6.7 before 6.7.12; from 6.8 before 6.8.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/86cb706a40b7e6b2221ee49a298a65ad9b46c02d> (patch)
- <https://git.kernel.org/stable/c/104a5b2772bc7c0715ae7355ccf9d294a472765c> (patch)
- <https://git.kernel.org/stable/c/ed381800ea6d9a4c7f199235a471c0c48100f0ae> (patch)
- <https://git.kernel.org/stable/c/9a9e8a7159ca09af9b1a300a6c8e8b6ff7501c76> (patch)

## Sources

- CVE List: [CVE-2024-35810](https://www.cve.org/CVERecord?id=CVE-2024-35810), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-35810](https://nvd.nist.gov/vuln/detail/CVE-2024-35810), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-35810 · Whole record: https://cve.day/CVE-2024-35810.json · Rebuilt by cve.day 2026-11-25T22:58:40.521Z
