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

drm/virtio: use the DMA API for resource backing on Xen

On a Xen PV domain page addresses bear no relation to the real machine
addresses the host would have to use to reach it.
virtio_ring.c handles this correctly, vring_use_map_api() returns true
for any xen_domain() regardless of VIRTIO_F_ACCESS_PLATFORM.

virtio-gpu makes the same decision independently, but its copy
looks only at the feature bit:

bool use_dma_api = !virtio_has_dma_quirk(vgdev->vdev);

QEMU does not set iommu_platform on virtio-vga by default, so
VIRTIO_F_ACCESS_PLATFORM is not negotiated, use_dma_api is false, and
virtio_gpu_object_shmem_init() describes the framebuffer's backing pages
to the host with sg_phys(). Those are guest-physical addresses. In a PV
domain they resolve, on the host side, to pages belonging to some other
domain, so the host scans out unrelated memory.

Move the decision into virtio_gpu_use_dma_api() and give it the
xen_domain() check, like vring_use_map_api() has. This
additionally enables the dma_sync_sgtable_for_device() calls in
virtgpu_vq.c, which are required for correctness whenever swiotlb
is in play.

Reproduced with a Xen 4.21 PV dom0 nested inside QEMU 8.2 with
virtio-vga, on both a distro 6.8 kernel and 6.18 LTS. A PVH dom0
works fine and doesn't need this fix because it is identity-mapped,
only PV dom0s are affected.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Information disclosure and potential host memory corruption
Action: Immediate Patch
AI Analysis

Impact

This flaw in the Linux kernel allows a Xen paravirtualized guest to present guest‑physical addresses that map to memory belonging to other domains. When virtio‑gpu reports framebuffer backing pages using sg_phys() without validating the address translation, the host can read or write those unrelated pages. The result is exposure of confidential data from other guests or, in the worst case, corruption of host memory. The weakness is rooted in improper isolation of memory addresses and failure to enforce access control on the guest‑host boundary.

Affected Systems

The issue affects the Linux kernel in Xen paravirtualized domains that use virtio‑gpu without the iommu_platform flag, as demonstrated with Xen 4.21 and QEMU 8.2 on kernel releases 6.8 and 6.18 LTS. PVH (paravirtualized host) dom0s are not impacted because they use identity mapping; only PXV dom0s with the affected kernel are vulnerable.

Risk and Exploitability

Exploitation requires a guest that can influence virtio‑gpu configuration in a PV domain and can control whether QEMU enables the iommu_platform option. The likely attack vector is a compromised guest environment presenting crafted virtio‑gpu descriptors, and is inferred from the description. The lack of a CVSS score and an unavailable EPSS score indicate that the general exploitation probability has not been quantified, and the vulnerability is not currently listed in the CISA KEV catalog. Nonetheless, the potential for cross‑domain information disclosure or host memory corruption makes this a high‑severity issue for affected Xen setups.

Generated by OpenCVE AI on September 25, 2026 at 13:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel that includes the patch for this vulnerability, such as 6.8.0+ or 6.18.4+;
  • Deploy the patched kernel to all Xen PV dom0 hosts;
  • Configure QEMU to enable VIRTIO_F_ACCESS_PLATFORM or set iommu_platform on virtio‑vga to avoid the fallback path;
  • If a patched kernel is not available, consider disabling virtio‑gpu in the guest or migrating the host to a PVH dom0 model;

Generated by OpenCVE AI on September 25, 2026 at 13:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-284

Fri, 25 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/virtio: use the DMA API for resource backing on Xen On a Xen PV domain page addresses bear no relation to the real machine addresses the host would have to use to reach it. virtio_ring.c handles this correctly, vring_use_map_api() returns true for any xen_domain() regardless of VIRTIO_F_ACCESS_PLATFORM. virtio-gpu makes the same decision independently, but its copy looks only at the feature bit: bool use_dma_api = !virtio_has_dma_quirk(vgdev->vdev); QEMU does not set iommu_platform on virtio-vga by default, so VIRTIO_F_ACCESS_PLATFORM is not negotiated, use_dma_api is false, and virtio_gpu_object_shmem_init() describes the framebuffer's backing pages to the host with sg_phys(). Those are guest-physical addresses. In a PV domain they resolve, on the host side, to pages belonging to some other domain, so the host scans out unrelated memory. Move the decision into virtio_gpu_use_dma_api() and give it the xen_domain() check, like vring_use_map_api() has. This additionally enables the dma_sync_sgtable_for_device() calls in virtgpu_vq.c, which are required for correctness whenever swiotlb is in play. Reproduced with a Xen 4.21 PV dom0 nested inside QEMU 8.2 with virtio-vga, on both a distro 6.8 kernel and 6.18 LTS. A PVH dom0 works fine and doesn't need this fix because it is identity-mapped, only PV dom0s are affected.
Title drm/virtio: use the DMA API for resource backing on Xen
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-09-25T14:42:14.960Z

Reserved: 2026-09-25T10:25:14.320Z

Link: CVE-2026-98156

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:47.280

Modified: 2026-09-25T11:17:47.280

Link: CVE-2026-98156

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T13:15:07Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-284

    Improper Access Control