How to Fix the Dirty Cow Exploit on Raspberry Pi

John John (304)
5 minutes

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.

Posted in these interests:
h/linux41 guides
h/pi253 guides
h/security45 guides

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!

Patch things up.
Ash Ash (362)

Attaching a patch is an easy endeavor with plenty of room for creativity.