CVE-2025-68167

Source
https://cve.org/CVERecord?id=CVE-2025-68167
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68167.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68167
Downstream
Related
Published
2025-12-16T13:42:47.480Z
Modified
2026-03-12T02:15:22.032888Z
Summary
gpiolib: fix invalid pointer access in debugfs
Details

In the Linux kernel, the following vulnerability has been resolved:

gpiolib: fix invalid pointer access in debugfs

If the memory allocation in gpiolibseqstart() fails, the s->private field remains uninitialized and is later dereferenced without checking in gpiolibseqstop(). Initialize s->private to NULL before calling kzalloc() and check it before dereferencing it.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68167.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e348544f7994d252427ed3ae637c7081cbb90f66
Fixed
70180a6031056096c93ed2f47c41803268bdd91c
Fixed
3c91c8f424d3e44c8645ab765a38773e58afb07d
Fixed
2f6115ad8864cf3f48598f26c74c7c8e5c391919

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68167.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.12.58
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68167.json"