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

This script is from RedHat themselves:

wget https://access.redhat.com/sites/default/files/rh-cve-2016-5195_1.sh

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

bash rh-cve-2016-5195_1.sh

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 *