Skip to contentSkip to conversation

CVE-2026-53347: drm/virtio: Fix driver removal with disabled KMS

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

drm/virtio: Fix driver removal with disabled KMS

DRM atomic and modesetting aren't initialized if virtio-gpu driver built with disabled KMS, leading to access of uninitialized data on driver removal/unbinding and crashing kernel. Fix it by skipping shutting down atomic core with unavailable KMS.

The Linux kernel CVE team has assigned CVE-2026-53347 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.4 with commit 72122c69d71784e390527819754ea456421c4501 and fixed in 6.6.143 with commit ed3e134700a2e07caa99b9bc0683ebbe0327c562
	Issue introduced in 6.4 with commit 72122c69d71784e390527819754ea456421c4501 and fixed in 6.12.94 with commit 38a5f891cda6d121c149c94cda89c31ec7024ee3
	Issue introduced in 6.4 with commit 72122c69d71784e390527819754ea456421c4501 and fixed in 6.18.36 with commit 19a6a00ff50c284f3a9818882ad2be58b33b790a
	Issue introduced in 6.4 with commit 72122c69d71784e390527819754ea456421c4501 and fixed in 7.0.13 with commit 15e561869a8b4e4db69733be1d6f33770664f989
	Issue introduced in 6.4 with commit 72122c69d71784e390527819754ea456421c4501 and fixed in 7.1 with commit f329e8325e054bd6d84d10904f8dd51137281b92

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53347

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/gpu/drm/virtio/virtgpu_drv.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/ed3e134700a2e07caa99b9bc0683ebbe0327c562
	https://git.kernel.org/stable/c/38a5f891cda6d121c149c94cda89c31ec7024ee3
	https://git.kernel.org/stable/c/19a6a00ff50c284f3a9818882ad2be58b33b790a
	https://git.kernel.org/stable/c/15e561869a8b4e4db69733be1d6f33770664f989
	https://git.kernel.org/stable/c/f329e8325e054bd6d84d10904f8dd51137281b92