CVE-2026-98156·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98156 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update your Linux kernel to version 7.2.7 or later to resolve a critical DMA API handling issue in the virtio-gpu driver that affects Xen PV domains. This vulnerability causes incorrect memory access when virtio-gpu framebuffer backing pages are not properly mapped through the DMA API, potentially leading to memory corruption or unauthorized data access. Ensure your system is rebooted after the kernel update to activate the patch.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if virtio-gpu is in use: lspci | grep -i virtio or grep -i drm /var/log/dmesg
- Confirm Xen environment: cat /proc/xen/capabilities (should return non-empty output on Xen PV domains)
- After patching, verify the new kernel is loaded: uname -r (should show 7.2.7 or later)
FAQ
What is CVE-2026-98156?
This vulnerability affects the Linux kernel's virtio-gpu driver on Xen PV domains, where guest-physical addresses are incorrectly used instead of DMA-mapped addresses when communicating framebuffer information to the host, potentially exposing or corrupting memory belonging to other domains.
Is CVE-2026-98156 being actively exploited?
No, this vulnerability is not listed in the CISA KEV catalog and has no known public exploits, though it represents a significant memory safety issue in virtualized environments.
What versions of Kernel are affected by CVE-2026-98156?
Linux kernel versions 6.19 through 7.2.6 are vulnerable; version 7.2.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-98156?
Run 'uname -r' to check your kernel version—if it shows 6.19 to 7.2.6, you are vulnerable. Additionally, confirm you're running on Xen PV with 'cat /proc/xen/capabilities' and verify virtio-gpu usage via 'lspci | grep -i virtio'.
Does Defensia detect CVE-2026-98156?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98156 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/32e999ccf5f6453b3b4df8264ff1b03c6720292f
- https://git.kernel.org/stable/c/3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36
- https://git.kernel.org/stable/c/455184dbe9652d01470d3c5cf5edd09a7a673a99
- https://git.kernel.org/stable/c/6a736d2f9d0c6e6217fe7532bc4c50ceca71db78
- https://git.kernel.org/stable/c/93c557e947ef0040004b1ac6a1c1265d79a957e1
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98156. Free for 1 server.
Get started free