CVE-2016-2546: Race Condition

Published Feb 24, 2016
·
Updated

ALSA timer ioctls have an open race and this may lead to a use-after-free of timer instance object. A simplistic fix is to make each ioctl exclusive. We have already treadsem for controlling the tread, and extend this as a global mutex to be applied to each ioctl.

Upstream patch:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af368027a49a751d6ff4ee9e3f9961f35bb4fede

CVE-ID request and assignment:

http://seclists.org/oss-sec/2016/q1/133

http://seclists.org/oss-sec/2016/q1/410

Other sources

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.

— Launchpad

Affected Software

27 affected componentsFixes available
Linux Linux kernel<=4.4
Google Android
ubuntu/linux<3.13.0-83.127
3.13.0-83.127
ubuntu/linux-lts-utopic<3.16.0-67.87~14.04.1
3.16.0-67.87~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-30.35~14.04.1
4.2.0-30.35~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+deb8u44.4.2-1

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-67.87~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-30.35~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+deb8u4Fixed in 4.4.2-1
  6. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.4.1

Event History

Feb 24, 2016
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Apr 27, 2016
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Aug 1, 2016
Data Sourced
via Android·12:00 AM
SeverityAffected Software
Sep 7, 2017
Data Sourced
01:29 AM
Weakness
Data Sourced
via NVD·01:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:29 AM
Affected Software
Feb 17, 2021
Data Sourced
via Red Hat·04:18 AM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·02:48 AM
RemedyAffected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID is CVE-2016-2546.

2

What is the severity of CVE-2016-2546?

The severity of CVE-2016-2546 is medium.

3

How does CVE-2016-2546 affect the Linux kernel?

CVE-2016-2546 allows local users to cause a denial of service (race condition, use-after-free, and system crash) via a crafted ioctl call.

4

Which versions of the Linux kernel are affected by CVE-2016-2546?

Versions before 4.4.1 of the Linux kernel are affected by CVE-2016-2546.

5

How can I fix CVE-2016-2546?

To fix CVE-2016-2546, you should update your Linux kernel to version 4.4.1 or later.

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