All reports
Medium

kernel: pty layer race condition on tty ldisc shutdown.

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-4170

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-21

Description

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.

A flaw was discovered in the way the Linux kernel's TTY subsystem handled the tty shutdown phase. A local, unprivileged user could use this flaw to cause denial of service on the system by holding a reference to the ldisc lock during tty shutdown, causing a deadlock.