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.
https://www.kernel.org/pub/linux/kernel/next/patch-v3.13-rc4-next-20131218.xz
https://github.com/torvalds/linux/commit/cf872776fc84128bb779ce2b83a37c884c3203ae
https://bugzilla.redhat.com/show_bug.cgi?id=1218879
https://access.redhat.com/errata/RHSA-2016:1395
http://www.securityfocus.com/bid/74820
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html