A vulnerability in the Linux kernel's vfio/fsl-mc driver allowed read-only memory region mappings to be upgraded to writable via mprotect() due to the VM_MAYWRITE flag not being cleared. This issue has been addressed by clearing VM_MAYWRITE for regions without the WRITE flag, preventing unauthorized writable mappings.