All reports
Medium

kernel: drm/vmwgfx: Fix Use-after-free in validation

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40111

Probability of exploitation in the next 30 days: 0.15%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Fix Use-after-free in validation Nodes stored in the validation duplicates hashtable come from an arena allocator that is cleared at the end of vmw_execbuf_process. All nodes are expected to be cleared in vmw_validation_drop_ht but this node escaped because its resource was destroyed prematurely.

A flaw was found in the Linux kernel’s VMware graphics driver (drm/vmwgfx). During the validation process, nodes stored in a duplicates-hashtable come from an arena allocator, which is cleared at the end of vmw_execbuf_process. One node was not properly removed in vmw_validation_drop_ht because its associated resource was destroyed too early, leading to a use-after-free.