Not scored
vfio/fsl-mc: prevent read-only region mappings from becoming writable
- Severity
- Not scored
- Exploit likelihood
- 0.30% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: vfio/fsl-mc: prevent read-only region mappings from becoming writable vfio_fsl_mc_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(). 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: the fsl-mc bus publishes all device regions with the WRITE flag set, so no device can currently reach the read-only path. The guard costs nothing and keeps the mmap() interface honest if a read-only region ever appears.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 67247289688d49a610a956c23c4ff032f0281845 before 6e510ddb55675ff2bf8eaa9c93d4e35416f5c027, from 67247289688d49a610a956c23c4ff032f0281845 before 95d4575c6a73596689bc01cab742bd2410b00e9a, from 67247289688d49a610a956c23c4ff032f0281845 before 7aaac9b7fb576512f096ca6841ebddb158e2b228, from 67247289688d49a610a956c23c4ff032f0281845 before 6358b4f3e87c4a81d476dae59737ca083c367292, from 67247289688d49a610a956c23c4ff032f0281845 before 7094d4fe5fb6860e150e790784193e07c8a1ff9f, from 67247289688d49a610a956c23c4ff032f0281845 before 3043b82aace2dddb7d12585ceee69afcaf657fb7, from 67247289688d49a610a956c23c4ff032f0281845 before 25fd8b27ee8d4f59cc2ad99cf67aef4570b82096, 5.10 Not affected: before 5.10, from 5.10.276 up to 5.10.*, from 5.15.227 up to 5.15.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*, from 6.18.65 up to 6.18.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99810 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-99810 changed 2026-12-01 | Public domain |