CVE-2026-98142: drm/cirrus-qemu: Validate BAR0 size during probe

Published Sep 25, 2026
·
Updated

drm/cirrus-qemu: Validate BAR0 size during probe

Affected Software

2 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.157.1-1<6.6.158.1-1
6.6.158.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.158.1-1
  2. Compensating control

    Update the cirrus-qemu driver so cirrus_pci_probe() validates that the PCI BAR0 resource size is at least CIRRUS_VRAM_SIZE (4 MB), returning -ENODEV when it is smaller.

Event History

Sep 25, 2026
CVE Published
via MITRE·10:36 AM
Data Sourced
via MITRE·10:36 AM
Description
Data Sourced
via NVD·11:17 AM
Description
Sep 28, 2026
Data Sourced
via Microsoft·06:38 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems are exposed when a PCI device with a BAR0 smaller than 4 MB is bound to the cirrus-qemu DRM driver. The vulnerable behavior occurs because the driver assumes 4 MB of VRAM without confirming that BAR0 provides that amount.

2

What triggers the failure?

A framebuffer larger than the actual BAR0 mapping can be created because framebuffer validation assumes 4 MB of VRAM. When the display plane is updated, including during release, the driver copies framebuffer data to VRAM and can write beyond the mapped I/O memory, causing a supervisor write page fault.

3

How can I determine whether the system is affected?

Check whether the cirrus-qemu driver is bound to a PCI device whose BAR0 is smaller than 4 MB. A triggered system may log an "unable to handle page fault" message with memcpy_toio, drm_fb_memcpy, and cirrus_primary_plane_helper_atomic_update in the call trace.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203