CVE-2017-13167: Race Condition

Published Dec 6, 2017
·
Updated

A race condition was found in the kernel sound timer code in the sndtimeruserread() function in the sound/core/timer.c file. An unprivileged attacker can exploit the race condition to cause out-of-bound access which may lead to a system crash or other unspecified impact. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely.

References:

https://source.android.com/security/bulletin/pixel/2017-12-01#kernel-components

Upstream fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c3b1681375dc6e71d89a3ae00cc3ce9e775a8917

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7

Other sources

An elevation of privilege vulnerability in the kernel sound timer. Product: Android. Versions: Android kernel. Android ID A-37240993.

— MITRE

Affected Software

18 affected componentsFixes available
Google Android
ubuntu/linux<3.13.0-85.129
3.13.0-85.129
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*

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-85.129
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch c3b1681375dc6e71d89a3ae00cc3ce9e775a8917

Event History

Dec 4, 2017
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Dec 6, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via OSV·02:29 PM
DescriptionSeverityAffected Software
Data Sourced
02:29 PM
DescriptionSeverityAffected Software
Apr 18, 2018
Data Sourced
via Red Hat·09:44 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What level of access does an attacker need to exploit this issue?

The attacker needs local, unprivileged access to the affected system. No user interaction is required.

2

What is the likely impact if exploitation succeeds?

The race condition can cause an out-of-bounds access in the kernel sound timer code, potentially crashing the system. Other impacts are unspecified; privilege escalation cannot be fully ruled out, though it is considered unlikely.

3

Which code path is involved?

The flaw is in the kernel sound timer's snd_timer_user_read() function in sound/core/timer.c. Systems using an affected Android kernel or the listed Linux packages should be evaluated for the upstream fixes.

4

How can I determine whether a kernel build contains a fix?

Check the kernel source or vendor patch history for upstream commits c3b1681375dc6e71d89a3ae00cc3ce9e775a8917 and 4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7. The available data does not provide fixed package or kernel version numbers.

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