CVE-2017-10661: Use After Free

Published Aug 7, 2017
·
Updated

Last updated 29 November 2024

Other sources

Race condition in fs/timerfd.c in the Linux kernel before 4.10.15 allows local users to gain privileges or cause a denial of service (list corruption or use-after-free) via simultaneous file-descriptor operations that leverage improper mightcancel queueing.

— Launchpad

The handling of the mightcancel queueing is not properly protected, so parallel operations on the file descriptor can race with each other and lead to list corruptions or use after free.

References:

https://marc.info/?l=linux-fsdevel&m=148587265720603&w=2

https://marc.info/?t=148587273100007&r=1&w=2

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

Upstream patch:

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

— Red Hat

Affected Software

37 affected componentsFixes available
Linux Linux kernel<=4.10.14
Linux Linux kernel<3.2.92
Linux Linux kernel>=3.3<3.16.47
Linux Linux kernel>=3.17<3.18.52
Linux Linux kernel>=3.19<4.1.41
Linux Linux kernel>=4.2<4.4.67
Linux Linux kernel>=4.5<4.9.27
Linux Linux kernel>=4.10<4.10.15
redhat Enterprise Linux=7.0
redhat Enterprise Linux Aus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=7.4
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.21-16.12.22-1
Google Android
ubuntu/linux<3.13.0-135.184
3.13.0-135.184
ubuntu/linux-lts-xenial<4.4.0-79.100~14.04.1
4.4.0-79.100~14.04.1
ubuntu/linux<4.4.0-79.100
4.4.0-79.100
ubuntu/linux-aws<4.4.0-1018.27
4.4.0-1018.27
ubuntu/linux-gke<4.4.0-1014.14
4.4.0-1014.14
ubuntu/linux-hwe<4.10.0-32.36~16.04.1
4.10.0-32.36~16.04.1
ubuntu/linux-raspi2<4.4.0-1057.64
4.4.0-1057.64
ubuntu/linux-snapdragon<4.4.0-1059.63
4.4.0-1059.63
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
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*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.21-1Fixed in 6.12.22-1
  2. Upgrade

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

    Fixed in 3.13.0-135.184
  3. Upgrade

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

    Fixed in 4.4.0-79.100~14.04.1
  4. Upgrade

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

    Fixed in 4.4.0-79.100
  5. Upgrade

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

    Fixed in 4.4.0-1018.27
  6. Upgrade

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

    Fixed in 4.4.0-1014.14
  7. Upgrade

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

    Fixed in 4.10.0-32.36~16.04.1
  8. Upgrade

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

    Fixed in 4.4.0-1057.64
  9. Upgrade

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

    Fixed in 4.4.0-1059.63
  10. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.10.15

Event History

Aug 7, 2017
CVE Published
via Android·12:00 AM
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Aug 14, 2017
Data Sourced
via Red Hat·08:16 AM
DescriptionSeverityAffected Software
Aug 19, 2017
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is CVE-2017-10661?

CVE-2017-10661 is a race condition vulnerability in the Linux kernel before version 4.10.15.

2

How does CVE-2017-10661 impact users?

CVE-2017-10661 allows local users to gain privileges or cause a denial of service through simultaneous file-descriptor operations that leverage improper might_cancel queueing.

3

What is the severity of CVE-2017-10661?

CVE-2017-10661 has a severity rating of high.

4

How can I fix CVE-2017-10661 on Ubuntu?

To fix CVE-2017-10661 on Ubuntu, update the Linux kernel to version 4.11 or higher.

5

Where can I find more information about CVE-2017-10661?

You can find more information about CVE-2017-10661 on the following references: [1](https://marc.info/?l=linux-fsdevel&m=148587265720603&w=2), [2](https://marc.info/?t=148587273100007&r=1&w=2), [3](https://source.android.com/security/bulletin/2017-08-01#kernel-components).

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