CVE-2026-99811: vfio/cdx: prevent read-only region mappings from becoming writable

Published Nov 25, 2026
·
Updated

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

vfio/cdx: prevent read-only region mappings from becoming writable

vfiocdxmmap() rejects writable mappings of regions without the WRITE flag, but leaves VMMAYWRITE set. Userspace can map such a region read-only and then upgrade the mapping to writable with mprotect(), writing to MMIO regions the device marks read-only.

Clear VMMAYWRITE for regions without the WRITE flag, as i915 does for its read-only objects and as fixed in drm/vc4 (CVE-2026-68445), drm/panthor (CVE-2024-53071) and commit a5edadbae57e ("ptp: vmclock: prevent read-only mappings from becoming writable").

Note this is defensive hardening: no in-tree cdx device currently publishes a region without the WRITE flag. The guard costs nothing and keeps the mmap() interface honest if a read-only region ever appears.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Clear VM_MAYWRITE for regions without the WRITE flag to prevent writable mappings of read-only regions.

    vfio/cdx VM_MAYWRITE = clear for regions without the WRITE flag

Event History

Nov 25, 2026
CVE Published
via MITRE·06:26 PM
Data Sourced
via MITRE·06:26 PM
Description

Frequently Asked Questions

1

Are systems using current in-tree CDX devices exposed in practice?

No in-tree CDX device currently publishes a region without the WRITE flag, so the issue is described as defensive hardening rather than a currently reachable exposure for those devices.

2

What would be required to exploit this issue if a read-only CDX region were published?

A userspace process would need to map the region read-only through vfio_cdx_mmap() and then use mprotect() to upgrade that mapping to writable. This could permit writes to an MMIO region that the device marked read-only.

3

How can I determine whether this affects a CDX device deployment?

Determine whether the device publishes any VFIO CDX region without the WRITE flag. The described bypass is relevant only for such read-only regions.

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