What’s Vulnerable › Vulnerabilities
CVE-2025-68167: gpiolib: fix invalid pointer access in debugfs
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-16 · updated 2026-10-14
Description
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 products
- Linux kernel: 6.9 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2f6115ad8864cf3f48598f26c74c7c8e5c391919
- https://git.kernel.org/stable/c/3c91c8f424d3e44c8645ab765a38773e58afb07d
- https://git.kernel.org/stable/c/70180a6031056096c93ed2f47c41803268bdd91c
Get alerted when CVE-2025-68167 or the next vulnerability affects your stack