Patches to fix the Dirty COW vulnerability have been released by Red Hat and CentOS for RHEL/CentOS. The patch is presented as a kernel upgrade and should be applied as soon as possible. You can read more about this patch on Red Hat’s website.
To patch your server, simply run the following command:
yum install kernel
After the kernel is installed, reboot your server. Once your server comes back online, you can confirm the patched kernel is now running with the following command:
For RHEL/CentOS 6 systems, you should see “2.6.32-642.6.2.el6” from the output of the command.
For RHEL/CentOS 7 systems, you should see “3.10.0-327.36.3.el7” from the output of the command.