
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68167 is a Linux kernel vulnerability in the gpiolib subsystem involving an invalid pointer access in the debugfs interface. If memory allocation fails in gpiolib_seq_start(), the s->private field remains uninitialized and is subsequently dereferenced without a NULL check in gpiolib_seq_stop(), leading to a potential kernel crash or undefined behavior. The vulnerability was published on December 16, 2025, and affects the Linux kernel starting from commit e348544f7994d252427ed3ae637c7081cbb90f66. Patches have been backported to stable branches including Linux 6.12.58, 6.17.8, and 6.18 (Feedly, EUVD). No CVSS score has been formally assigned at this time.
The root cause is a missing NULL initialization of the s->private pointer before a kzalloc() call in gpiolib_seq_start() within the Linux kernel's GPIO library debugfs implementation (CWE-476: NULL Pointer Dereference). When kzalloc() fails due to memory pressure, s->private holds an indeterminate value; the subsequent call to gpiolib_seq_stop() dereferences this pointer without checking for NULL, resulting in an invalid memory access. The fix initializes s->private to NULL before the allocation and adds a NULL guard in gpiolib_seq_stop() before dereferencing. Exploitation requires the ability to trigger memory allocation failures, typically under low-memory conditions or via local access to the debugfs interface (Feedly, EUVD).
Successful exploitation of this vulnerability can cause a kernel panic or system crash (denial of service) due to the invalid pointer dereference in kernel space. Because the flaw resides in the debugfs path of the GPIO library, it is primarily a local availability concern — an attacker or unprivileged process with access to the debugfs filesystem under memory-constrained conditions could trigger a kernel crash. There is no evidence of confidentiality or integrity impact beyond the potential for a system crash (Feedly).
The Linux kernel maintainers have released patches addressing this vulnerability in the following stable versions: 6.12.58, 6.17.8, and 6.18. The fix is applied via commits 2f6115ad8864cf3f48598f26c74c7c8e5c391919 (6.12.x), 3c91c8f424d3e44c8645ab765a38773e58afb07d (6.17.x), and 70180a6031056096c93ed2f47c41803268bdd91c (6.18). Administrators should update to a patched kernel version as soon as possible. As a temporary workaround, restricting access to the debugfs filesystem (e.g., mounting with nodev or limiting access via filesystem permissions) can reduce exposure (EUVD, Feedly).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."