Race condition in the ldsem_cmpxchg function in drivers/tty/tty_ldsem.c in the Linux kernel before 3.13-rc4-next-20131218 allows local users to cause a denial of service (ldsem_down_read and ldsem_down_write deadlock) by establishing a new tty thread during shutdown of a previous tty thread.
git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cf872776fc84128bb779ce2b83a37c884c3203ae
www.openwall.com/lists/oss-security/2015/05/26/1
www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
www.securityfocus.com/bid/74820
access.redhat.com/errata/RHSA-2016:1395
bugzilla.redhat.com/show_bug.cgi?id=1218879
github.com/torvalds/linux/commit/cf872776fc84128bb779ce2b83a37c884c3203ae
www.kernel.org/pub/linux/kernel/next/patch-v3.13-rc4-next-20131218.xz