Cloudanix VulnDB

CVE-2016-0723

Medium · 6.8

CVSS

6.8

EPSS

0.4%

Published

Feb 8, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in how the Linux kernel handles certain terminal settings could let someone already on the computer read secret internal data or crash the whole system.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Data Exposure
Component
OS kernel
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Race condition in tty_ioctl allows concurrent TIOCSETD and TIOCGETD calls to trigger use-after-free, enabling local read of kernel memory contents or kernel panic.

Why it matters to the business

Local attackers on unpatched Linux systems can leak kernel secrets or crash the host, leading to data exposure or denial of service on servers, desktops, and embedded devices.

How an attack unfolds

A local attacker opens a TTY device and issues overlapping TIOCSETD and TIOCGETD ioctl calls to win the race window, either reading freed kernel memory or forcing a use-after-free crash.

How to fix it

Update the Linux kernel to a version containing commit 5c17c861a357e9458001f021a7afa7aab9937439 or later; rebuild and reboot with the fixed kernel.

How to confirm the fix worked

Verify the running kernel source contains commit 5c17c861a357e9458001f021a7afa7aab9937439; attempt controlled reproduction of the race condition to confirm absence of the flaw.

Typical attack path

  1. Obtain local shell or process execution on the target host
  2. Locate an accessible TTY device node
  3. Issue concurrent TIOCSETD and TIOCGETD ioctl calls on the device
  4. Observe kernel memory disclosure or trigger system crash

How to detect it

Review auditd or kernel logs for sequences of TIOCSETD followed immediately by TIOCGETD ioctls on the same TTY; monitor for unexpected kernel oops or use-after-free warnings in dmesg.

  • TIOCSETD
  • TIOCGETD
  • tty_ioctl
  • drivers/tty/tty_io.c

What your security team should do

  • Prioritize kernel updates on all affected Linux systems
  • Restrict local user access where possible until patched
  • Enable kernel hardening features such as KASLR and hardened usercopy

The record

Race condition in the tty_ioctl function in drivers/tty/tty_io.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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.3.3-6
Debian:12 linux 0 4.3.3-6
Debian:13 linux 0 4.3.3-6
Debian:6.0 linux-2.6 0 2.6.32-48squeeze19
Debian:8 linux 0 3.16.7-ckt20-1+deb8u3
SUSE:Linux Enterprise Desktop 11 SP4 kernel-default 0 3.0.101-71.1
SUSE:Linux Enterprise Desktop 11 SP4 kernel-pae 0 3.0.101-71.1
SUSE:Linux Enterprise Desktop 11 SP4 kernel-source 0 3.0.101-71.1
SUSE:Linux Enterprise Desktop 11 SP4 kernel-syms 0 3.0.101-71.1
SUSE:Linux Enterprise Desktop 11 SP4 kernel-trace 0 3.0.101-71.1
SUSE:Linux Enterprise Desktop 11 SP4 kernel-xen 0 3.0.101-71.1
SUSE:Linux Enterprise Desktop 12 kernel-default 0 3.12.55-52.42.1
SUSE:Linux Enterprise Desktop 12 kernel-source 0 3.12.55-52.42.1
SUSE:Linux Enterprise Desktop 12 kernel-syms 0 3.12.55-52.42.1
SUSE:Linux Enterprise Desktop 12 kernel-xen 0 3.12.55-52.42.1
SUSE:Linux Enterprise Desktop 12 SP1 kernel-default 0 3.12.53-60.30.1
SUSE:Linux Enterprise Desktop 12 SP1 kernel-source 0 3.12.53-60.30.1
SUSE:Linux Enterprise Desktop 12 SP1 kernel-syms 0 3.12.53-60.30.1
SUSE:Linux Enterprise Desktop 12 SP1 kernel-xen 0 3.12.53-60.30.1
SUSE:Linux Enterprise Live Patching 12 kgraft-patch-SLE12-SP1_Update_3 0 1-2.1
SUSE:Linux Enterprise Live Patching 12 kgraft-patch-SLE12_Update_12 0 1-2.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.53-60.30.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.55-52.42.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt 0 3.0.101.rt130-51.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt_trace 0 3.0.101.rt130-51.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-source-rt 0 3.0.101.rt130-51.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-syms-rt 0 3.0.101.rt130-51.1
SUSE:Linux Enterprise Real Time 12 SP1 kernel-compute 0 3.12.58-14.1
SUSE:Linux Enterprise Real Time 12 SP1 kernel-compute_debug 0 3.12.58-14.1
SUSE:Linux Enterprise Real Time 12 SP1 kernel-rt 0 3.12.58-14.1
SUSE:Linux Enterprise Real Time 12 SP1 kernel-rt_debug 0 3.12.58-14.1
SUSE:Linux Enterprise Real Time 12 SP1 kernel-source-rt 0 3.12.58-14.1
SUSE:Linux Enterprise Real Time 12 SP1 kernel-syms-rt 0 3.12.58-14.1
SUSE:Linux Enterprise Server 11 SP2-LTSS kernel-default 0 3.0.101-0.7.40.1
SUSE:Linux Enterprise Server 11 SP2-LTSS kernel-ec2 0 3.0.101-0.7.40.1
SUSE:Linux Enterprise Server 11 SP2-LTSS kernel-pae 0 3.0.101-0.7.40.1
SUSE:Linux Enterprise Server 11 SP2-LTSS kernel-source 0 3.0.101-0.7.40.1
SUSE:Linux Enterprise Server 11 SP2-LTSS kernel-syms 0 3.0.101-0.7.40.1
SUSE:Linux Enterprise Server 11 SP2-LTSS kernel-trace 0 3.0.101-0.7.40.1
SUSE:Linux Enterprise Server 11 SP2-LTSS kernel-xen 0 3.0.101-0.7.40.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-bigsmp 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-default 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-ec2 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-pae 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-source 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-syms 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-trace 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-xen 0 3.0.101-0.47.79.1
SUSE:Linux Enterprise Server 11 SP4 kernel-default 0 3.0.101-71.1
SUSE:Linux Enterprise Server 11 SP4 kernel-ec2 0 3.0.101-71.1
SUSE:Linux Enterprise Server 11 SP4 kernel-pae 0 3.0.101-71.1
SUSE:Linux Enterprise Server 11 SP4 kernel-ppc64 0 3.0.101-71.1
SUSE:Linux Enterprise Server 11 SP4 kernel-source 0 3.0.101-71.1
SUSE:Linux Enterprise Server 11 SP4 kernel-syms 0 3.0.101-71.1
SUSE:Linux Enterprise Server 11 SP4 kernel-trace 0 3.0.101-71.1
SUSE:Linux Enterprise Server 11 SP4 kernel-xen 0 3.0.101-71.1
SUSE:Linux Enterprise Server 12 kernel-default 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server 12 kernel-source 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server 12 kernel-syms 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server 12 kernel-xen 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server 12 SP1 kernel-default 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server 12 SP1 kernel-source 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server 12 SP1 kernel-syms 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server 12 SP1 kernel-xen 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server 12 SP1 lttng-modules 0 2.7.0-3.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-default 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-ec2 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-pae 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-ppc64 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-source 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-syms 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-trace 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-xen 0 3.0.101-71.1
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-default 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-source 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-syms 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server for SAP Applications 12 kernel-xen 0 3.12.55-52.42.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-default 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-source 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-syms 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-xen 0 3.12.53-60.30.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 lttng-modules 0 2.7.0-3.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 kernel-docs 0 3.0.101-71.2
SUSE:Linux Enterprise Software Development Kit 12 kernel-docs 0 3.12.55-52.42.2
SUSE:Linux Enterprise Software Development Kit 12 kernel-obs-build 0 3.12.55-52.42.2
SUSE:Linux Enterprise Software Development Kit 12 SP1 kernel-docs 0 3.12.53-60.30.2
SUSE:Linux Enterprise Software Development Kit 12 SP1 kernel-obs-build 0 3.12.53-60.30.2
SUSE:Linux Enterprise Workstation Extension 12 kernel-default 0 3.12.55-52.42.1
SUSE:Linux Enterprise Workstation Extension 12 SP1 kernel-default 0 3.12.53-60.30.1
SUSE:Manager 2.1 kernel-bigsmp 0 3.0.101-0.47.79.1
SUSE:Manager 2.1 kernel-default 0 3.0.101-0.47.79.1
SUSE:Manager 2.1 kernel-ec2 0 3.0.101-0.47.79.1
SUSE:Manager 2.1 kernel-source 0 3.0.101-0.47.79.1
SUSE:Manager 2.1 kernel-syms 0 3.0.101-0.47.79.1
SUSE:Manager 2.1 kernel-trace 0 3.0.101-0.47.79.1
SUSE:Manager 2.1 kernel-xen 0 3.0.101-0.47.79.1
SUSE:Manager Proxy 2.1 kernel-bigsmp 0 3.0.101-0.47.79.1
SUSE:Manager Proxy 2.1 kernel-default 0 3.0.101-0.47.79.1
SUSE:Manager Proxy 2.1 kernel-ec2 0 3.0.101-0.47.79.1
SUSE:Manager Proxy 2.1 kernel-source 0 3.0.101-0.47.79.1
SUSE:Manager Proxy 2.1 kernel-syms 0 3.0.101-0.47.79.1
SUSE:Manager Proxy 2.1 kernel-trace 0 3.0.101-0.47.79.1
SUSE:Manager Proxy 2.1 kernel-xen 0 3.0.101-0.47.79.1
SUSE:OpenStack Cloud 5 kernel-bigsmp 0 3.0.101-0.47.79.1
SUSE:OpenStack Cloud 5 kernel-default 0 3.0.101-0.47.79.1
SUSE:OpenStack Cloud 5 kernel-ec2 0 3.0.101-0.47.79.1
SUSE:OpenStack Cloud 5 kernel-source 0 3.0.101-0.47.79.1
SUSE:OpenStack Cloud 5 kernel-syms 0 3.0.101-0.47.79.1
SUSE:OpenStack Cloud 5 kernel-trace 0 3.0.101-0.47.79.1
SUSE:OpenStack Cloud 5 kernel-xen 0 3.0.101-0.47.79.1
Ubuntu:14.04:LTS linux 0 3.13.0-83.127
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1002.2
Ubuntu:14.04:LTS linux-lts-utopic 0 3.16.0-69.89~14.04.1
Ubuntu:14.04:LTS linux-lts-vivid 0 3.19.0-56.62~14.04.1
Ubuntu:14.04:LTS linux-lts-wily 0 4.2.0-34.39~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-13.29~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-7.22
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1001.10
Ubuntu:16.04:LTS linux-gke 0 4.4.0-1003.3
Ubuntu:16.04:LTS linux-hwe 0 4.8.0-36.36~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.4.0-1003.4
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1012.12
Ubuntu:18.04:LTS linux-azure 0 No fix
Ubuntu:18.04:LTS linux-gcp 0 No fix
Ubuntu:18.04:LTS linux-hwe 0 No fix
Ubuntu:18.04:LTS linux-hwe-edge 0 No fix
Ubuntu:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:20.04:LTS linux-gke 0 No fix
Ubuntu:20.04:LTS linux-gkeop 0 No fix
Ubuntu:20.04:LTS linux-raspi2 0 No fix
Ubuntu:20.04:LTS linux-riscv 0 No fix
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 No fix
Ubuntu:22.04:LTS linux-realtime 0 No fix
Ubuntu:22.04:LTS linux-riscv 0 No fix
Ubuntu:24.04:LTS linux-azure-6.11 0 No fix
Ubuntu:24.04:LTS linux-gcp-6.11 0 No fix
Ubuntu:24.04:LTS linux-hwe-6.11 0 No fix
Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11 0 No fix
Ubuntu:24.04:LTS linux-raspi-realtime 0 No fix
Ubuntu:24.04:LTS linux-realtime 0 No fix
Ubuntu:24.04:LTS linux-riscv 0 No fix
Ubuntu:Pro:16.04:LTS linux-flo 0 No fix
Ubuntu:Pro:16.04:LTS linux-goldfish 0 No fix
Ubuntu:Pro:16.04:LTS linux-mako 0 No fix
Ubuntu:Pro:18.04:LTS linux-azure 0 No fix
Ubuntu:Pro:18.04:LTS linux-gcp 0 No fix
Ubuntu:Pro:18.04:LTS linux-hwe 0 No fix
Ubuntu:Pro:18.04:LTS linux-hwe-edge 0 No fix
Ubuntu:Pro:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:Pro:20.04:LTS linux-azure-fde-5.15 0 No fix
Ubuntu:Pro:20.04:LTS linux-gke 0 No fix
Ubuntu:Pro:20.04:LTS linux-gkeop 0 No fix
Ubuntu:Pro:20.04:LTS linux-raspi2 0 No fix
Ubuntu:Pro:20.04:LTS linux-riscv 0 No fix
openSUSE:Tumbleweed kernel-source 0 4.8.13-1.1

Related vulnerabilities