AZL-116149: CVE-2026-99811 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In vfio/cdx, clear VM_MAYWRITE for regions without the WRITE flag so read-only mappings cannot be upgraded to writable with mprotect().
Event History
Frequently Asked Questions
Are systems using current in-tree CDX devices realistically exposed?
No in-tree CDX device currently publishes a region without the WRITE flag, so the described condition is not currently present for those devices. The change is characterized as defensive hardening for any future read-only CDX region.
What would be required to exploit this issue if a read-only CDX region were available?
Userspace would need to map a CDX region read-only and then use mprotect() to upgrade that mapping to writable. This could allow writes to an MMIO region that the device marked read-only.
How can administrators determine whether their environment has the affected condition?
Determine whether a CDX device exposes a region without the WRITE flag. The provided information states that no in-tree CDX device currently does so.