PoC provided by :
Affected version(s) :
Linux kernel through 4.3.3
Tested on :
Ubuntu Server 64-bit 15.10 with python installed
The ovl_setattr function in fs/overlayfs/inode.c in the Linux kernel through 4.3.3 attempts to merge distinct setattr operations, which allows local users to bypass intended access restrictions and modify the attributes of arbitrary overlay files via a crafted application.
gcc -o CVE-2015-8660 CVE-2015-8660.c id ./CVE-2015-8660 id