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

This script is from RedHat themselves:

1
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:

1
bash rh-cve-2016-5195_1.sh

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

1
sudo yum update kernel -y && reboot

Leave a Reply

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