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.
git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f15133df088ecadd141ea1907f2c96df67c729f0
twitter.com/grsecurity/statuses/597127122910490624
www.debian.org/security/2015/dsa-3329
www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.4
www.openwall.com/lists/oss-security/2015/08/01/5
www.securityfocus.com/bid/76142
www.ubuntu.com/usn/USN-2680-1
www.ubuntu.com/usn/USN-2681-1
bugzilla.redhat.com/show_bug.cgi?id=1250047
github.com/torvalds/linux/commit/f15133df088ecadd141ea1907f2c96df67c729f0
source.android.com/security/bulletin/2017-01-01.html