Cloudanix VulnDB

CVE-2016-2546

Medium · 5.1

CVSS

5.1

EPSS

0.3%

Published

Apr 27, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in the Linux kernel's audio timing code lets someone already on the computer crash the entire system.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
High
Impact
Denial Of Service
Component
OS kernel
Class
Race Condition
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Incorrect mutex type in sound/core/timer.c permits a race condition that leads to use-after-free and kernel panic on crafted ioctl.

Why it matters to the business

Local denial-of-service crashes can interrupt services on affected systems until the kernel is updated; prevalence in the Linux ecosystem makes broad patching important even years after disclosure.

How an attack unfolds

An attacker with local shell access issues a sequence of timer-related ioctl calls that exploit the mutex mismatch, triggering the race, use-after-free, and system crash.

How to fix it

Upgrade the Linux kernel to version 4.4.1 or later; apply commit af368027a49a751d6ff4ee9e3f9961f35bb4fede where backports are required.

How to confirm the fix worked

Confirm running kernel version is 4.4.1 or newer and that the timer mutex change from the referenced commit is present in the source.

Typical attack path

  1. Obtain local unprivileged shell on target system
  2. Invoke crafted ioctl on /dev/snd/timer or equivalent device node
  3. Trigger concurrent timer operations to win the race
  4. Cause use-after-free and kernel panic

How to detect it

Review kernel panic and oops logs for timer-related use-after-free signatures; correlate with unexpected ioctl activity on sound timer devices.

  • sound/core/timer.c: mutex type mismatch
  • timer->lock use-after-free panic
  • ioctl(SNDRV_TIMER_IOCTL_*) race crash

What your security team should do

  • Prioritize kernel updates on all exposed Linux hosts
  • Restrict local user access to sound devices where feasible
  • Monitor kernel crash logs for timer-related panics until patching is complete

The record

sound/core/timer.c in the Linux kernel before 4.4.1 uses an incorrect type of mutex, which allows local users to cause a denial of service (race condition, use-after-free, and system crash) via a crafted ioctl call.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.4.2-1
Debian:12 linux 0 4.4.2-1
Debian:13 linux 0 4.4.2-1
Debian:7 linux 0 3.2.73-2+deb7u3
Debian:8 linux 0 3.16.7-ckt20-1+deb8u4
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 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 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 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 Software Development Kit 11 SP4 kernel-docs 0 3.0.101-71.2
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-67.87~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-30.35~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-4.19
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

Related vulnerabilities