← VULNERABILITIES

CVE-2026-99811

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

UnscoredFix available
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

EcosystemPackageRangeFixed
LinuxKernel>=6.13.0, <6.18.656.18.65
LinuxKernel>=6.19.0, <7.3.67.3.6
LinuxKernel>=6.5.0, <6.6.1636.6.163
LinuxKernel>=6.7.0, <6.12.1196.12.119
vendorLinux>=234489ac561300ceed33e64c3bf3a810b9e2051d, <0b4d943393cb75aa398db220c0fa192ed856b6e80b4d943393cb75aa398db220c0fa192ed856b6e8
vendorLinux>=234489ac561300ceed33e64c3bf3a810b9e2051d, <3eaabe24a0c0c1c67388e2b4e8624ca484a739eb3eaabe24a0c0c1c67388e2b4e8624ca484a739eb
vendorLinux>=234489ac561300ceed33e64c3bf3a810b9e2051d, <9628e3fbe9680f5025140cdf44fcbb1de9f8a7899628e3fbe9680f5025140cdf44fcbb1de9f8a789
vendorLinux>=234489ac561300ceed33e64c3bf3a810b9e2051d, <9c5cd385d295fa8621dff0e9f6063e3f6ff241599c5cd385d295fa8621dff0e9f6063e3f6ff24159
vendorLinux>=234489ac561300ceed33e64c3bf3a810b9e2051d, <a82df58e3dbf35325a7eec09d0aa8e16892a3ce3a82df58e3dbf35325a7eec09d0aa8e16892a3ce3

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

JSON