CVE-2025-68167

published 16 Dec 2025 · updated 5 Aug 2026

gpiolib: fix invalid pointer access in debugfs

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2f6115ad8864cf3f48598f26c74c7c8e5c391919, Kernel 3c91c8f424d3e44c8645ab765a38773e58afb07d and Kernel 70180a6031056096c93ed2f47c41803268bdd91c.

In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix invalid pointer access in debugfs If the memory allocation in gpiolib_seq_start() fails, the s->private field remains uninitialized and is later dereferenced without checking in gpiolib_seq_stop(). Initialize s->private to NULL before calling kzalloc() and check it before dereferencing it.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.9, >=e348544f7994d252427ed3ae637c7081cbb90f66 <2f6115ad8864cf3f48598f26c74c7c8e5c391919, >=e348544f7994d252427ed3ae637c7081cbb90f66 <3c91c8f424d3e44c8645ab765a38773e58afb07d, >=e348544f7994d252427ed3ae637c7081cbb90f66 <70180a6031056096c93ed2f47c41803268bdd91c2f6115ad8864cf3f48598f26c74c7c8e5c391919, 3c91c8f424d3e44c8645ab765a38773e58afb07d, 70180a6031056096c93ed2f47c41803268bdd91c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68167 severity on Zeptric[![CVE-2025-68167](https://zeptric.io/badge/cve/CVE-2025-68167.svg)](https://zeptric.io/cve/CVE-2025-68167)