Oneliner: Patch Dirty COW Exploit CentOS 5, 6 & 7

This script is from RedHat themselves:


Then run this command to check if your kernel is vulnberable:


Send this command out to all of your CentOS servers to patch their kernels:

sudo yum update kernel -y && reboot

Leave a Reply

Your email address will not be published. Required fields are marked *