{"id":"CVE-2026-99811","summary":"vfio/cdx: prevent read-only region mappings from becoming writable","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/cdx: prevent read-only region mappings from becoming writable\n\nvfio_cdx_mmap() rejects writable mappings of regions without the WRITE\nflag, but leaves VM_MAYWRITE set.  Userspace can map such a region\nread-only and then upgrade the mapping to writable with mprotect(),\nwriting to MMIO regions the device marks read-only.\n\nClear VM_MAYWRITE for regions without the WRITE flag, as i915 does for\nits read-only objects and as fixed in drm/vc4 (CVE-2026-68445),\ndrm/panthor (CVE-2024-53071) and commit a5edadbae57e (\"ptp: vmclock:\nprevent read-only mappings from becoming writable\").\n\nNote this is defensive hardening: no in-tree cdx device currently\npublishes a region without the WRITE flag.  The guard costs nothing and\nkeeps the mmap() interface honest if a read-only region ever appears.","modified":"2026-11-25T20:00:22.563302151Z","published":"2026-11-25T18:26:11.771Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99811.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0b4d943393cb75aa398db220c0fa192ed856b6e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3eaabe24a0c0c1c67388e2b4e8624ca484a739eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9628e3fbe9680f5025140cdf44fcbb1de9f8a789"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c5cd385d295fa8621dff0e9f6063e3f6ff24159"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a82df58e3dbf35325a7eec09d0aa8e16892a3ce3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99811.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99811"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"234489ac561300ceed33e64c3bf3a810b9e2051d"},{"fixed":"9628e3fbe9680f5025140cdf44fcbb1de9f8a789"},{"fixed":"3eaabe24a0c0c1c67388e2b4e8624ca484a739eb"},{"fixed":"a82df58e3dbf35325a7eec09d0aa8e16892a3ce3"},{"fixed":"0b4d943393cb75aa398db220c0fa192ed856b6e8"},{"fixed":"9c5cd385d295fa8621dff0e9f6063e3f6ff24159"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99811.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99811.json"}}],"schema_version":"1.9.2"}