Cloudanix VulnDB

CVE-2026-23158

High · 7.8

CVSS

7.8

EPSS

0.1%

Published

Feb 14, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in how Linux manages certain hardware configuration interfaces can let someone already on the system crash it or gain higher access.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
OS kernel
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Use-after-free in gpio-virtuser configfs release path allows mutex_unlock on already-freed device structure, enabling kernel memory corruption.

Why it matters to the business

Local users on affected Linux systems can trigger kernel crashes or escalate privileges, leading to system instability and potential compromise of hosts that expose gpio-virtuser via configfs.

How an attack unfolds

An attacker with local access creates and releases a gpio-virtuser device through configfs; the flawed release path destroys the mutex and frees the device while a guard still holds a reference, causing the subsequent unlock to operate on freed memory and corrupt kernel state.

How to fix it

Apply the upstream fix by updating the Linux kernel to commit 815a8e3bf72811d402b30bd4a53cde5e9df7a563 or later stable releases that contain the scoped_guard change; rebuild and reboot with the patched kernel.

How to confirm the fix worked

Confirm the running kernel contains commit 815a8e3bf72811d402b30bd4a53cde5e9df7a563 via git log or kernel version string; attempt configfs device creation/release under controlled conditions and verify no slab UAF reports in dmesg.

Typical attack path

  1. Obtain local shell on target Linux system
  2. Interact with gpio-virtuser configfs group to allocate device
  3. Trigger release path via removal or module unload
  4. Exploit resulting use-after-free for memory corruption or code execution

How to detect it

Review kernel logs (dmesg, /var/log/kern.log) for slab use-after-free warnings or oops traces mentioning gpio_virtuser or mutex_unlock on freed memory; correlate with configfs activity timestamps.

What your security team should do

  • Prioritize kernel update on all systems exposing gpio-virtuser
  • Restrict local configfs access to trusted users until patched
  • Monitor for kernel crashes referencing gpio_virtuser_device_config_group_release
  • Test patched kernels in staging before broad deployment

The record

In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix UAF in configfs release path The gpio-virtuser configfs release path uses guard(mutex) to protect the device structure. However, the device is freed before the guard cleanup runs, causing mutex_unlock() to operate on freed memory. Specifically, gpio_virtuser_device_config_group_release() destroys the mutex and frees the device while still inside the guard(mutex) scope. When the function returns, the guard cleanup invokes mutex_unlock(&dev->lock), resulting in a slab use-after-free. Limit the mutex lifetime by using a scoped_guard() only around the activation check, so that the lock is released before mutex_destroy() and kfree() are called.

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 6.11.0 6.12.69
openSUSE:Leap 16.0 dtb-aarch64 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-64kb 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-azure 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-default 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-default-base 0 6.12.0-160000.27.1.160000.2.8
openSUSE:Leap 16.0 kernel-docs 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-kvmsmall 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-obs-build 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-obs-qa 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-rt 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-source 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-syms 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-zfcpdump 0 6.12.0-160000.27.1

Related vulnerabilities