CVE-2015-4170: Race Condition

Published May 6, 2015
·
Updated

An issue was discovered in the linux kernel's tty subsystem handling during shutdown. The flaw was possible to take a reference to the ldisc during shutdown phase.

This race occurs on hangup of tty. It races and hangs on ldsemdownwrite on a semaphore that is being aquired by a new reader(CPU 1). The new reader/writer is sleeping in ldsemdownread() and the hangup is sleeping in ldsemdownwrite().

Resources:

Fix: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cf872776fc84128bb779ce2b83a37c884c3203ae CVE request: http://seclists.org/oss-sec/2015/q2/545

Other sources

Race condition in the ldsemcmpxchg function in drivers/tty/ttyldsem.c in the Linux kernel before 3.13-rc4-next-20131218 allows local users to cause a denial of service (ldsemdownread and ldsemdownwrite deadlock) by establishing a new tty thread during shutdown of a previous tty thread.

MITRE

Affected Software

6 affected components
Linux Linux kernel<=3.13.3
redhat Enterprise Linux Compute Node Eus=7.1
redhat Enterprise Linux For Ibm Z Systems Eus=7.1_s390x
redhat Enterprise Linux For Power Big Endian Eus=7.1_ppc64
redhat Enterprise Linux For Power Little Endian Eus=7.1_ppc64le
redhat Enterprise Linux Server Eus=7.1

Event History

May 6, 2015
Data Sourced
via Red Hat·06:29 AM
DescriptionSeverityAffected Software
May 2, 2016
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-4170?

CVE-2015-4170 has a medium severity rating due to its capability to cause a denial of service.

2

How do I fix CVE-2015-4170?

To mitigate CVE-2015-4170, it is recommended to update the Linux kernel to version 3.13.4 or later.

3

Which versions of the Linux kernel are affected by CVE-2015-4170?

CVE-2015-4170 affects Linux kernel versions prior to 3.13.4.

4

What type of attack does CVE-2015-4170 exploit?

CVE-2015-4170 exploits a race condition during the shutdown of tty threads.

5

Can local users exploit CVE-2015-4170?

Yes, local users can exploit CVE-2015-4170 to create a denial of service condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203