Cloudanix VulnDB

CVE-2014-9940

High · 7.0

CVSS

7.0

EPSS

1.6%

Published

May 2, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A software bug in core system components could let a local user seize control of the machine or crash it.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
High
Impact
Privilege Gain
Component
OS kernel
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

The regulator_ena_gpio_free function in the Linux kernel contains a use-after-free flaw that permits local attackers to execute arbitrary code with elevated privileges or trigger a denial of service through a crafted application.

Why it matters to the business

Successful exploitation can result in unauthorized system control or operational disruption on affected Linux-based deployments; the listed packages require upgrade to 0.2.0-r1 to eliminate exposure.

How an attack unfolds

An attacker crafts a local application that manipulates the regulator subsystem to free kernel memory and subsequently dereference the dangling pointer, achieving privilege escalation or system instability.

How to fix it

Upgrade octo-sts (Chainguard), octo-sts (Wolfi), octo-sts-webhook (Chainguard), and octo-sts-webhook (Wolfi) to version 0.2.0-r1 or later; apply kernel patches that correct the use-after-free in drivers/regulator/core.c.

How to confirm the fix worked

Confirm installed package versions meet or exceed the fixed releases; review kernel source for the corrected regulator_ena_gpio_free implementation and perform regression testing on regulator operations.

Typical attack path

  1. Develop a crafted local application targeting the regulator subsystem
  2. Execute the application on a vulnerable kernel
  3. Trigger the use-after-free condition via regulator_ena_gpio_free
  4. Leverage the freed memory for code execution or denial of service

How to detect it

Inspect kernel logs for regulator subsystem errors or crashes around the time of suspected activity; look for unexpected process privilege escalations or use-after-free related panics.

What your security team should do

  • Apply the specified package updates without delay
  • Restrict local application execution privileges where feasible
  • Monitor kernel logs and privilege change events for anomalies

The record

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 packages

Ecosystem Package Introduced Fixed
Debian:10 linux 0 4.0.2-1
Debian:11 linux 0 4.0.2-1
Debian:12 linux 0 4.0.2-1
Debian:13 linux 0 4.0.2-1
Debian:8 linux 0 3.16.43-2+deb8u3
Ubuntu:14.04:LTS linux 0 3.13.0-123.172
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1002.2
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1023.24~14.04.1
Ubuntu:14.04:LTS linux-lts-vivid 0 3.19.0-18.18~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-13.29~14.04.1
Ubuntu:16.04:LTS linux 0 4.2.0-16.19
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1001.10
Ubuntu:16.04:LTS linux-azure 0 4.11.0-1009.9
Ubuntu:16.04:LTS linux-euclid 0 4.4.0-9019.20
Ubuntu:16.04:LTS linux-gcp 0 4.10.0-1004.4
Ubuntu:16.04:LTS linux-gke 0 4.4.0-1003.3
Ubuntu:16.04:LTS linux-hwe 0 4.8.0-36.36~16.04.1
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1004.9
Ubuntu:16.04:LTS linux-oem 0 4.13.0-1008.9
Ubuntu:16.04:LTS linux-raspi2 0 4.2.0-1013.19
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1012.12
Ubuntu:18.04:LTS linux-azure 0 No fix
Ubuntu:18.04:LTS linux-gcp 0 No fix
Ubuntu:18.04:LTS linux-hwe 0 No fix
Ubuntu:18.04:LTS linux-hwe-edge 0 No fix
Ubuntu:18.04:LTS linux-oem 0 No fix
Ubuntu:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:20.04:LTS linux-gke 0 No fix
Ubuntu:20.04:LTS linux-gkeop 0 No fix
Ubuntu:20.04:LTS linux-raspi2 0 No fix
Ubuntu:20.04:LTS linux-riscv 0 No fix
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 No fix
Ubuntu:22.04:LTS linux-realtime 0 No fix
Ubuntu:22.04:LTS linux-riscv 0 No fix
Ubuntu:24.04:LTS linux-azure-6.11 0 No fix
Ubuntu:24.04:LTS linux-gcp-6.11 0 No fix
Ubuntu:24.04:LTS linux-hwe-6.11 0 No fix
Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11 0 No fix
Ubuntu:24.04:LTS linux-raspi-realtime 0 No fix
Ubuntu:24.04:LTS linux-realtime 0 No fix
Ubuntu:24.04:LTS linux-riscv 0 No fix
Ubuntu:Pro:16.04:LTS linux-flo 0 No fix
Ubuntu:Pro:16.04:LTS linux-goldfish 0 No fix
Ubuntu:Pro:16.04:LTS linux-mako 0 No fix
Ubuntu:Pro:18.04:LTS linux-azure 0 No fix
Ubuntu:Pro:18.04:LTS linux-gcp 0 No fix
Ubuntu:Pro:18.04:LTS linux-hwe 0 No fix
Ubuntu:Pro:18.04:LTS linux-hwe-edge 0 No fix
Ubuntu:Pro:18.04:LTS linux-oem 0 No fix
Ubuntu:Pro:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:Pro:20.04:LTS linux-azure-fde-5.15 0 No fix
Ubuntu:Pro:20.04:LTS linux-gke 0 No fix
Ubuntu:Pro:20.04:LTS linux-gkeop 0 No fix
Ubuntu:Pro:20.04:LTS linux-raspi2 0 No fix
Ubuntu:Pro:20.04:LTS linux-riscv 0 No fix

Related vulnerabilities