CVE-2017-12146: Race Condition

Published Sep 5, 2017
·
Updated

It was found that the driveroverride implementation in base/platform.c is susceptible to race condition when different threads are reading vs storing a different driver override.

Upstream patch:

https://github.com/torvalds/linux/commit/6265539776a0810b7ce6398c27866ddb9c6bd154

Introduced by commit:

https://github.com/torvalds/linux/commit/3d713e0e382e

Other sources

The driveroverride implementation in drivers/base/platform.c in the Linux kernel before 4.12.1 allows local users to gain privileges by leveraging a race condition between a read operation and a store operation that involve different overrides.

Launchpad

Affected Software

9 affected componentsFixes available
redhat/kernel<4.13
4.13
Google Android
Linux Linux Kernel>=3.17<3.18.61
Linux Linux Kernel>=3.19<4.1.43
Linux Linux Kernel>=4.2<4.4.77
Linux Linux Kernel>=4.5<4.9.37
Linux Linux Kernel>=4.10<4.11.10
Linux Linux Kernel>=4.12<4.12.1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 4.13
  2. 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.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
  3. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Fixed in 4.12.1

Event History

Sep 5, 2017
CVE Published
via Android·12:00 AM
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Sep 8, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:26 PM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·01:34 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2017-12146?

CVE-2017-12146 is a vulnerability in the Linux kernel that allows local users to gain privileges by exploiting a race condition in the driver_override implementation.

2

What is the severity of CVE-2017-12146?

CVE-2017-12146 has a severity level of medium.

3

How can I fix CVE-2017-12146?

To fix CVE-2017-12146, you should update your Linux kernel to version 4.12.1 or later.

4

Are there any references for CVE-2017-12146?

Yes, you can find references for CVE-2017-12146 in the following links: [Link 1](http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6265539776a0810b7ce6398c27866ddb9c6bd154), [Link 2](http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.12.1), [Link 3](https://bugzilla.redhat.com/show_bug.cgi?id=1489078)

5

What is the CWE classification for CVE-2017-12146?

CVE-2017-12146 is classified as CWE-362.

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