I just checked the dirty cow bug and it is not resolved in the newest OS. I will have to do the patch then.
chip@chip1:~$ cat /proc/version
Linux version 4.4.13-ntc-mlc (bamboo@ip-172-31-30-80) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu1) ) #1 SMP Thu Nov 3 01:28:54 UTC 2016
gcc -lpthread dirtyc0w.c -o dirtyc0w
echo this is not a test > foo
./dirtyc0w foo m00000000000000000
In reality you need to be connected has user on the chip for dirty cow. In my point of view I don't thing it is a big issue for C.H.I.P. because if a hacker got user access on your C.H.I.P. he will use "sudo bash" instead. So change the default password!!! Very important!!!