# CVE-2026-98156: drm/virtio: use the DMA API for resource backing on Xen

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **Published:** 2026-09-25T10:36:26.409Z
- **Modified:** 2026-10-21T13:21:24.497Z

## Who should check

- Anyone running Linux \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 32e999ccf5f6453b3b4df8264ff1b03c6720292f; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 93c557e947ef0040004b1ac6a1c1265d79a957e1; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 455184dbe9652d01470d3c5cf5edd09a7a673a99; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 6a736d2f9d0c6e6217fe7532bc4c50ceca71db78
- Anyone running Linux 4.20

## 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.

## Affected and fixed versions

- Linux: \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 32e999ccf5f6453b3b4df8264ff1b03c6720292f; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 93c557e947ef0040004b1ac6a1c1265d79a957e1; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 455184dbe9652d01470d3c5cf5edd09a7a673a99; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 6a736d2f9d0c6e6217fe7532bc4c50ceca71db78 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- Upgrade Linux to 6a736d2f9d0c6e6217fe7532bc4c50ceca71db78 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98156. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98156.md
Affected: Linux >= a3b815f09bb846255c458c181b8a5b1cc66891b4, < 32e999ccf5f6453b3b4df8264ff1b03c6720292f; >= a3b815f09bb846255c458c181b8a5b1cc66891b4, < 3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36; >= a3b815f09bb846255c458c181b8a5b1cc66891b4, < 93c557e947ef0040004b1ac6a1c1265d79a957e1; >= a3b815f09bb846255c458c1…
Fixed in: Linux 32e999ccf5f6453b3b4df8264ff1b03c6720292f, Linux 3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36, Linux 93c557e947ef0040004b1ac6a1c1265d79a957e1, Linux 455184dbe9652d01470d3c5cf5edd09a7a673a99, Linux 6a736d2f9d0c6e6217fe7532bc4c50ceca71db78

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98156 being exploited?

There is no confirmed exploitation: CVE-2026-98156 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98156?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-98156?

Linux \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 32e999ccf5f6453b3b4df8264ff1b03c6720292f; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 93c557e947ef0040004b1ac6a1c1265d79a957e1; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 455184dbe9652d01470d3c5cf5edd09a7a673a99; \>= a3b815f09bb846255c458c181b8a5b1cc66891b4, \< 6a736d2f9d0c6e6217fe7532bc4c50ceca71db78; Linux 4.20.

### Is there a fix for CVE-2026-98156?

Yes. Fixed in Linux 32e999ccf5f6453b3b4df8264ff1b03c6720292f, Linux 3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36, Linux 93c557e947ef0040004b1ac6a1c1265d79a957e1, Linux 455184dbe9652d01470d3c5cf5edd09a7a673a99, Linux 6a736d2f9d0c6e6217fe7532bc4c50ceca71db78. Upgrade Linux to 6a736d2f9d0c6e6217fe7532bc4c50ceca71db78 or later.

### How do I check if I'm affected by CVE-2026-98156?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/93c557e947ef0040004b1ac6a1c1265d79a957e1>
- patch: <https://git.kernel.org/stable/c/455184dbe9652d01470d3c5cf5edd09a7a673a99>
- patch: <https://git.kernel.org/stable/c/6a736d2f9d0c6e6217fe7532bc4c50ceca71db78>
- other: <https://git.kernel.org/stable/c/32e999ccf5f6453b3b4df8264ff1b03c6720292f>
- other: <https://git.kernel.org/stable/c/3f130cc6826fabf50e01fe8e4ff3ed1fcae50d36>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98156>

HTML: <https://flawdb.com/CVE-2026-98156> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98156>
