Use-after-free vulnerability in the path_openat function in fs/namei.c in the Linux kernel 3.x and 4.x before 4.0.4 allows local users to cause a denial of service or possibly have unspecified other impact via O_TMPFILE filesystem operations that leverage a duplicate cleanup operation.
https://source.android.com/security/bulletin/2017-01-01.html
https://github.com/torvalds/linux/commit/f15133df088ecadd141ea1907f2c96df67c729f0
https://bugzilla.redhat.com/show_bug.cgi?id=1250047
http://www.ubuntu.com/usn/USN-2681-1
http://www.ubuntu.com/usn/USN-2680-1
http://www.securityfocus.com/bid/76142
http://www.openwall.com/lists/oss-security/2015/08/01/5
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.4