CVE-2026-99809: vfio/platform: prevent read-only region mappings from becoming writable

Published Nov 25, 2026
·
Updated

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

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

vfioplatformmmap() 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().

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 platform driver 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 that do not have the WRITE flag, preventing read-only mappings from becoming writable via mprotect().

    Linux kernel vfio/platform 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 VFIO platform drivers exposed in practice?

No in-tree platform driver currently publishes a region without the WRITE flag, so the change is described as defensive hardening rather than a known exposure affecting existing in-tree drivers.

2

What conditions are required for the mapping to become writable?

A VFIO platform region must lack the WRITE flag, and userspace must first map it read-only and then use mprotect() to upgrade that mapping to writable. The issue exists because VM_MAYWRITE was left enabled despite mmap() rejecting an initially writable mapping.

3

What does the fix change?

The fix clears VM_MAYWRITE for regions that do not have the WRITE flag. This prevents mprotect() from converting their read-only mappings into writable mappings.

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