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

drm/vmwgfx: avoid destroy_workqueue(NULL) on vkms init failure

Two paths through vmw_vkms_init() can leave vmw->crc_workq NULL while
still leaving the rest of the driver in a state that calls
vmw_vkms_cleanup() at module unload:

1. vmw_host_get_guestinfo(GUESTINFO_VBLANK, ...) failing or
returning an oversized buffer -- the common case on hosts
without a VBLANK guestinfo entry -- early-returned before the
workqueue allocation.
2. alloc_ordered_workqueue() returning NULL on memory pressure.

vmw_vkms_cleanup() then calls destroy_workqueue(NULL), which
dereferences wq->name and panics.

Fix the first case by removing the early return: vmw->vkms_enabled
is already false on the rpci-failure path so no work will ever be
queued, and allocating the workqueue unconditionally keeps the
control flow simple. Fix the second case by guarding the cleanup
with a NULL check, since alloc_ordered_workqueue() can still fail
under low memory.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A logic flaw in the VMware graphics driver of the Linux kernel leaves vmw->crc_workq unset when vmw_vkms_init() fails, causing vmw_vkms_cleanup() to call destroy_workqueue(NULL). The dereference of a null pointer triggers a kernel panic, bringing the entire system down. The vulnerability does not provide a way for an attacker to execute code; it simply results in a denial of service. The weakness is a classic NULL pointer dereference (CWE‑476).

Affected Systems

The flaw exists in the vmwgfx module that ships with most mainstream Linux kernel releases. Any host running the Linux kernel with the vmwgfx driver compiled in, and without the patch that adds a NULL check in vmw_vkms_cleanup(), is potentially vulnerable. The patch was merged into the mainline kernel; therefore, kernels newer than the commit that introduced the fix are protected, while older kernels or builds that did not incorporate this change remain at risk. System administrators should verify that their kernel includes the patched source (e.g., the commit referenced in the advisory) or upgrade to a recent distribution kernel. Unmodified kernels from earlier releases (< commit date) remain affected.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score of less than 1% shows a very low likelihood of exploitation in the wild. The vulnerability requires an initialization failure in the vmwgfx driver, which can be caused by memory pressure or the absence of VBLANK guestinfo on the host. Such conditions are unlikely to be triggered by remote attackers, suggesting that the risk is mainly local or environmental. It is not listed in the CISA KEV catalog, further indicating that no active exploits are known. Nevertheless, the potential to crash the kernel means that a attacker or a process that can influence driver initialization could use this flaw to bring down the host, which merits prompt patching.

Generated by OpenCVE AI on August 18, 2026 at 03:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install a Linux kernel that contains the vmwgfx workqueue NULL‑check fix (for example, any mainline release after the commit).
  • If you cannot immediately update the kernel, disable the vmwgfx driver by removing or blacklisting it in the boot configuration to prevent the crash.
  • Alternatively, apply the upstream patch manually by applying the referenced git commits or by building a custom kernel that includes the fix.

Generated by OpenCVE AI on August 18, 2026 at 03:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 14:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: avoid destroy_workqueue(NULL) on vkms init failure Two paths through vmw_vkms_init() can leave vmw->crc_workq NULL while still leaving the rest of the driver in a state that calls vmw_vkms_cleanup() at module unload: 1. vmw_host_get_guestinfo(GUESTINFO_VBLANK, ...) failing or returning an oversized buffer -- the common case on hosts without a VBLANK guestinfo entry -- early-returned before the workqueue allocation. 2. alloc_ordered_workqueue() returning NULL on memory pressure. vmw_vkms_cleanup() then calls destroy_workqueue(NULL), which dereferences wq->name and panics. Fix the first case by removing the early return: vmw->vkms_enabled is already false on the rpci-failure path so no work will ever be queued, and allocating the workqueue unconditionally keeps the control flow simple. Fix the second case by guarding the cleanup with a NULL check, since alloc_ordered_workqueue() can still fail under low memory.
Title drm/vmwgfx: avoid destroy_workqueue(NULL) on vkms init failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:19:29.387Z

Reserved: 2026-08-15T05:44:03.897Z

Link: CVE-2026-74442

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:48.760

Modified: 2026-08-17T06:19:39.970

Link: CVE-2026-74442

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74442 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T03:15:04Z

Weaknesses