CVE-2016-0723: Infoleak

Published Jan 6, 2016
·
Updated

A flaw was discovered in the linux kernel tty subsystem which allows for disclosure of uncontrolled memory location and possible kernel panic. The information leak is caused by a race condition when attempting to set and read the tty line discipline. An attacker can use the TIOCSETD (via ttysetldisc ) to switch to a new line discipline, a concurrent call to with a TIOCGETD ioctl performs a read on a given tty may be able to access memory previously allocated. Up to 4 bytes may leaked when querying the line discipline.

The problematic code:

case TIOCGETD: return putuser(tty->ldisc->ops->num, (int user )p);

The flaw is triggered when ldisc's address is loaded before the new address is set and the access is performed after the old is freed, which results to crash due to the kernel accessing an invalid address. If an attacker prepares the kernel slab by setting up the ldisc struct at the correct offset they can effectively read 4 bytes from any kernel memory.

Invalid data at the ldisc address may also panic the machine if it is not pointing to valid mappable memory.

Upstream fix: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5c17c861a357e9458001f021a7afa7aab9937439

Original proposed fix: https://bugzilla.redhat.com/attachment.cgi?id=1112221&action=diff

Other sources

Race condition in the ttyioctl function in drivers/tty/ttyio.c in the Linux kernel through 4.4.1 allows local users to obtain sensitive information from kernel memory or cause a denial of service (use-after-free and system crash) by making a TIOCGETD ioctl call during processing of a TIOCSETD ioctl call.

— Launchpad

Affected Software

28 affected componentsFixes available
Linux Linux kernel<=4.4.1
Google Android
ubuntu/linux<3.13.0-83.127
3.13.0-83.127
ubuntu/linux-lts-utopic<3.16.0-69.89~14.04.1
3.16.0-69.89~14.04.1
ubuntu/linux-lts-vivid<3.19.0-56.62~14.04.1
3.19.0-56.62~14.04.1
ubuntu/linux-lts-wily<4.2.0-34.39~14.04.1
4.2.0-34.39~14.04.1
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
debian/linux
3.2.73-2+deb7u33.16.7-ckt20-1+deb8u34.3.3-6
debian/linux-2.6
2.6.32-48squeeze19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-83.127
  2. Upgrade

    Upgrade ubuntu/linux-lts-utopic to a version that resolves this vulnerability.

    Fixed in 3.16.0-69.89~14.04.1
  3. Upgrade

    Upgrade ubuntu/linux-lts-vivid to a version that resolves this vulnerability.

    Fixed in 3.19.0-56.62~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux-lts-wily to a version that resolves this vulnerability.

    Fixed in 4.2.0-34.39~14.04.1
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.2.73-2+deb7u3Fixed in 3.16.7-ckt20-1+deb8u3Fixed in 4.3.3-6
  6. Upgrade

    Upgrade debian/linux-2.6 to a version that resolves this vulnerability.

    Fixed in 2.6.32-48squeeze19

Event History

Jan 6, 2016
Data Sourced
05:51 PM
DescriptionSeverityAffected Software
Feb 7, 2016
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Feb 8, 2016
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Jul 6, 2016
Data Sourced
via Android·12:00 AM
SeverityAffected Software
Dec 6, 2016
Data Sourced
03:05 AM
Weakness
Data Sourced
via NVD·03:05 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:05 AM
Affected Software
Jun 1, 2021
Data Sourced
via Red Hat·01:21 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·02:42 AM
Affected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2016-0723?

CVE-2016-0723 is a vulnerability in the Linux kernel that allows local users to obtain sensitive information from kernel memory or cause a denial of service.

2

How severe is CVE-2016-0723?

CVE-2016-0723 has a severity rating of medium.

3

Which software versions are affected by CVE-2016-0723?

The affected software versions include linux-armadaxp (3.2.0-1665.90), linux-armadaxp (4.5~), linux-aws (4.5~), linux-flo (4.5~), linux-gke (4.5~), linux-goldfish (4.5~), linux-grouper (4.5~), linux-hwe (4.5~), linux-hwe-edge (4.5~), linux-linaro-vexpress (4.5~), linux-lts-quantal (4.5~), linux-lts-raring (4.5~), linux-lts-saucy (4.5~), linux-lts-trusty (3.13.0-83.127~), linux-lts-trusty (4.5~), linux-lts-utopic (4.5~), linux-lts-vivid (4.5~), linux-lts-wily (4.5~), linux-lts-xenial (4.5~), linux-maguro (4.5~), linux-mako (4.5~), linux-manta (4.5~), linux-qcm-msm (4.5~), linux-raspi2 (4.5~), linux-raspi2 (4.2.0-1027.35), linux-snapdragon (4.5~), linux-ti-omap4 (4.5~), linux-ti-omap4 (3.2.0-1480.106), linux (4.5~), linux (3.2.0-102.142), linux (3.13.0-83.127), linux (4.2.0-34.39), linux-fsl-imx51 (4.5~), linux-linaro-omap (4.5~), linux-linaro-shared (4.5~), and linux (4.19.249-2, 4.19.289-2, 5.10.178-3, 5.10.191-1, 6.1.38-1, 6.1.52-1, 6.5.3-1).

4

How can I fix CVE-2016-0723?

To fix CVE-2016-0723, you should update the affected software versions to the specified remedy versions (e.g., linux-armadaxp 4.5~).

5

Are there any references for CVE-2016-0723?

Yes, you can find references for CVE-2016-0723 at the following links: [Link to SecurityTracker](http://www.securitytracker.com/id/1035695), [Link to SecurityFocus](http://www.securityfocus.com/bid/82950), [Link to Debian Security Advisory](http://www.debian.org/security/2016/dsa-3448).

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