What’s Vulnerable › Vulnerabilities
CVE-2014-9940
- Severity: high (CVSS 7.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-05-02 · updated 2026-06-17
- Weakness: CWE-416
Description
The regulator_ena_gpio_free function in drivers/regulator/core.c in the Linux kernel before 3.19 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted application.
Affected products
- Android: through 7.1.1
- Linux kernel: from 3.10 (excl.) before 3.16.45; from 3.17 before 3.18.52; 3.10, 3.10-rc1, 3.10-rc2, 3.10-rc3, 3.10-rc4, 3.10-rc5 (+2) — fixed in 3.16.45, 3.18.52
How to fix
Upgrade to a fixed version: Linux kernel 3.16.45, 3.18.52. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=60a2362f769cf549dc466134efe71c8bf9fbaaba
- http://www.debian.org/security/2017/dsa-3945
- http://www.securityfocus.com/bid/98195
- https://github.com/torvalds/linux/commit/60a2362f769cf549dc466134efe71c8bf9fbaaba
- https://source.android.com/security/bulletin/2017-05-01
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=60a2362f769cf549dc466134efe71c8bf9fbaaba
- http://www.debian.org/security/2017/dsa-3945
- http://www.securityfocus.com/bid/98195
- https://github.com/torvalds/linux/commit/60a2362f769cf549dc466134efe71c8bf9fbaaba
- https://source.android.com/security/bulletin/2017-05-01
Get alerted when CVE-2014-9940 or the next vulnerability affects your stack