CVE Catalog

CVE-2025-68167

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the gpiolib library in the Linux kernel, the debugfs function gpiolib_seq_start() fails to initialize s->private before memory allocation, leading to invalid pointer dereference in gpiolib_seq_stop().

Risk Assessment

Invalid pointer dereference could cause system crashes or potentially allow local privilege escalation.

Recommendation

Apply the Linux kernel patch that initializes s->private to NULL before allocation and checks it before dereferencing in gpiolib_seq_stop().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS