{"id":"CVE-2026-99811","aliases":["CVE-2026-99811"],"related":[],"kind":"vulnerability","state":"published","title":"vfio/cdx: prevent read-only region mappings from becoming writable","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T18:26:11.771Z","modified":"2026-11-25T19:17:44.777Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"234489ac561300ceed33e64c3bf3a810b9e2051d","fixed":"9628e3fbe9680f5025140cdf44fcbb1de9f8a789","status":"affected"},{"type":"git","introduced":"234489ac561300ceed33e64c3bf3a810b9e2051d","fixed":"3eaabe24a0c0c1c67388e2b4e8624ca484a739eb","status":"affected"},{"type":"git","introduced":"234489ac561300ceed33e64c3bf3a810b9e2051d","fixed":"a82df58e3dbf35325a7eec09d0aa8e16892a3ce3","status":"affected"},{"type":"git","introduced":"234489ac561300ceed33e64c3bf3a810b9e2051d","fixed":"0b4d943393cb75aa398db220c0fa192ed856b6e8","status":"affected"},{"type":"git","introduced":"234489ac561300ceed33e64c3bf3a810b9e2051d","fixed":"9c5cd385d295fa8621dff0e9f6063e3f6ff24159","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9628e3fbe9680f5025140cdf44fcbb1de9f8a789","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3eaabe24a0c0c1c67388e2b4e8624ca484a739eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a82df58e3dbf35325a7eec09d0aa8e16892a3ce3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b4d943393cb75aa398db220c0fa192ed856b6e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c5cd385d295fa8621dff0e9f6063e3f6ff24159","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99811","url":"https://www.cve.org/CVERecord?id=CVE-2026-99811","licence":"CVE Terms of Use","modified":"2026-11-25T18:26:11.771Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99811","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99811","licence":"Public domain","modified":"2026-11-25T19:17:44.777Z"}],"updatedAt":"2026-11-25T23:18:18.367Z","epss":{"score":0.00296,"percentile":0.23951,"date":"2026-12-01T12:00:22.000Z"}}