UBUNTU-CVE-2026-74442: Medium severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: avoid destroyworkqueue(NULL) on vkms init failure Two paths through vmwvkmsinit() can leave vmw->crcworkq NULL while still leaving the rest of the driver in a state that calls vmwvkmscleanup() at module unload: 1. vmwhostgetguestinfo(GUESTINFOVBLANK, ...) failing or returning an oversized buffer -- the common case on hosts without a VBLANK guestinfo entry -- early-returned before the workqueue allocation. 2. allocorderedworkqueue() returning NULL on memory pressure. vmwvkmscleanup() then calls destroyworkqueue(NULL), which dereferences wq->name and panics. Fix the first case by removing the early return: vmw->vkmsenabled 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 allocorderedworkqueue() can still fail under low memory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Compensating control
In vmw_vkms_init(), remove the early return on vmw_host_get_guestinfo(GUESTINFO_VBLANK, ...) failure or oversized-buffer results, and allocate the crc_workq unconditionally.
- Compensating control
In vmw_vkms_cleanup(), guard the destroy_workqueue() call with a NULL check before destroying vmw->crc_workq.