AZL-116143: CVE-2026-99809 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Clear VM_MAYWRITE for VFIO platform regions without the WRITE flag, preventing read-only mappings from becoming writable with mprotect().
Event History
Frequently Asked Questions
Are default Azure Linux systems currently exposed through an in-tree VFIO platform driver?
The advisory states that no in-tree platform driver currently publishes a region without the WRITE flag. This is described as defensive hardening for a read-only region that may appear in the future.
What would be required to exploit this behavior?
A VFIO platform region without the WRITE flag would need to be available to userspace. An attacker could map that region read-only and then use mprotect() to upgrade the mapping to writable because VM_MAYWRITE remained set.