gpiolib: fix invalid pointer access in debugfs
cve-program · CVE-2025-68167
PublishedIn 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-68167 · CVE overview and exploitation status
cve-program · CVE-2025-68167
Related changes
Linked by CVE identifierNo related changes are available here.