-

CVE-2026-99811

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

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 234489ac561300ceed33e64c3bf3a810b9e2051d
Version < 9628e3fbe9680f5025140cdf44fcbb1de9f8a789
Status affected
Version 234489ac561300ceed33e64c3bf3a810b9e2051d
Version < 3eaabe24a0c0c1c67388e2b4e8624ca484a739eb
Status affected
Version 234489ac561300ceed33e64c3bf3a810b9e2051d
Version < a82df58e3dbf35325a7eec09d0aa8e16892a3ce3
Status affected
Version 234489ac561300ceed33e64c3bf3a810b9e2051d
Version < 0b4d943393cb75aa398db220c0fa192ed856b6e8
Status affected
Version 234489ac561300ceed33e64c3bf3a810b9e2051d
Version < 9c5cd385d295fa8621dff0e9f6063e3f6ff24159
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.5
Status affected
Version 0
Version < 6.5
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.119
Status unaffected
Version <= 6.18.*
Version 6.18.65
Status unaffected
Version <= 7.3.*
Version 7.3.6
Status unaffected
Version <= *
Version 7.4-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.3% 0.147
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
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