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

State
Published
Severity
Not Scored
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux67247289688d49a610a956c23c4ff032f0281845 to before 7aaac9b7fb576512f096ca6841ebddb158e2b228 Affected67247289688d49a610a956c23c4ff032f0281845 to before 6358b4f3e87c4a81d476dae59737ca083c367292 Affected67247289688d49a610a956c23c4ff032f0281845 to before 7094d4fe5fb6860e150e790784193e07c8a1ff9f Affected67247289688d49a610a956c23c4ff032f0281845 to before 3043b82aace2dddb7d12585ceee69afcaf657fb7 Affected67247289688d49a610a956c23c4ff032f0281845 to before 25fd8b27ee8d4f59cc2ad99cf67aef4570b82096 Affected
Linux Linux5.10 Affectedbefore 5.10 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.