CVE-2026-99811
vfio/cdx: prevent read-only region mappings from becoming writable
- CVSS
- —
- EPSS
- 0.30% (p15)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- Linux 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.
Fixed in
0b4d943393cb75aa398db220c0fa192ed856b6e8 · 3eaabe24a0c0c1c67388e2b4e8624ca484a739eb · 6.12.119 · 6.18.65 · 6.6.163 · 7.3.6 · 9628e3fbe9680f5025140cdf44fcbb1de9f8a789 · 9c5cd385d295fa8621dff0e9f6063e3f6ff24159 · a82df58e3dbf35325a7eec09d0aa8e16892a3ce3
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13.0, <6.18.65 | 6.18.65 |
| Linux | Kernel | >=6.19.0, <7.3.6 | 7.3.6 |
| Linux | Kernel | >=6.5.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.119 | 6.12.119 |
| vendor | Linux | >=234489ac561300ceed33e64c3bf3a810b9e2051d, <0b4d943393cb75aa398db220c0fa192ed856b6e8 | 0b4d943393cb75aa398db220c0fa192ed856b6e8 |
| vendor | Linux | >=234489ac561300ceed33e64c3bf3a810b9e2051d, <3eaabe24a0c0c1c67388e2b4e8624ca484a739eb | 3eaabe24a0c0c1c67388e2b4e8624ca484a739eb |
| vendor | Linux | >=234489ac561300ceed33e64c3bf3a810b9e2051d, <9628e3fbe9680f5025140cdf44fcbb1de9f8a789 | 9628e3fbe9680f5025140cdf44fcbb1de9f8a789 |
| vendor | Linux | >=234489ac561300ceed33e64c3bf3a810b9e2051d, <9c5cd385d295fa8621dff0e9f6063e3f6ff24159 | 9c5cd385d295fa8621dff0e9f6063e3f6ff24159 |
| vendor | Linux | >=234489ac561300ceed33e64c3bf3a810b9e2051d, <a82df58e3dbf35325a7eec09d0aa8e16892a3ce3 | a82df58e3dbf35325a7eec09d0aa8e16892a3ce3 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/9628e3fbe9680f5025140cdf44fcbb1de9f8a789 other
- https://git.kernel.org/stable/c/3eaabe24a0c0c1c67388e2b4e8624ca484a739eb other
- https://git.kernel.org/stable/c/a82df58e3dbf35325a7eec09d0aa8e16892a3ce3 other
- https://git.kernel.org/stable/c/0b4d943393cb75aa398db220c0fa192ed856b6e8 other
- https://git.kernel.org/stable/c/9c5cd385d295fa8621dff0e9f6063e3f6ff24159 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99811.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99811 advisory