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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-11-25T18:26:11.771Z
- Modified: 2026-11-25T19:17:44.777Z
- Assigned by: Linux

## Description

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

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

vfio_cdx_mmap() rejects writable mappings of regions without the WRITE
flag, but leaves VM_MAYWRITE 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 VM_MAYWRITE 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 234489ac561300ceed33e64c3bf3a810b9e2051d before 9628e3fbe9680f5025140cdf44fcbb1de9f8a789; from 234489ac561300ceed33e64c3bf3a810b9e2051d before 3eaabe24a0c0c1c67388e2b4e8624ca484a739eb; from 234489ac561300ceed33e64c3bf3a810b9e2051d before a82df58e3dbf35325a7eec09d0aa8e16892a3ce3; from 234489ac561300ceed33e64c3bf3a810b9e2051d before 0b4d943393cb75aa398db220c0fa192ed856b6e8; from 234489ac561300ceed33e64c3bf3a810b9e2051d before 9c5cd385d295fa8621dff0e9f6063e3f6ff24159; 6.5 (not affected: before 6.5; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/9628e3fbe9680f5025140cdf44fcbb1de9f8a789>
- <https://git.kernel.org/stable/c/3eaabe24a0c0c1c67388e2b4e8624ca484a739eb>
- <https://git.kernel.org/stable/c/a82df58e3dbf35325a7eec09d0aa8e16892a3ce3>
- <https://git.kernel.org/stable/c/0b4d943393cb75aa398db220c0fa192ed856b6e8>
- <https://git.kernel.org/stable/c/9c5cd385d295fa8621dff0e9f6063e3f6ff24159>

## Sources

- CVE List: [CVE-2026-99811](https://www.cve.org/CVERecord?id=CVE-2026-99811), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-99811](https://nvd.nist.gov/vuln/detail/CVE-2026-99811), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-99811 · Whole record: https://cve.day/CVE-2026-99811.json · Rebuilt by cve.day 2026-11-25T23:18:18.367Z
