Knowledge for the World

How to fix the Dirty Cow exploit on Raspberry Pi

The Dirty Cow exploit is a serious exploit in the Linux kernel that allows users to gain root access to the system. This vulnerability is said to be fairly trivial to exploit, and it is important to install the patch quickly. This guide will show you what is required to update the kernel and patch this critical vulnerability.


Raspbian Jessie users can update the kernel simply by opening a shell and typing:

sudo apt-get update && sudo apt-get install raspberrypi-kernel


Then, reboot your Raspberry Pi:

sudo reboot

After the reboot, you will be safe from Dirty COW!