{"id":"CVE-2025-68167","summary":"gpiolib: fix invalid pointer access in debugfs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: fix invalid pointer access in debugfs\n\nIf the memory allocation in gpiolib_seq_start() fails, the s-\u003eprivate\nfield remains uninitialized and is later dereferenced without checking\nin gpiolib_seq_stop(). Initialize s-\u003eprivate to NULL before calling\nkzalloc() and check it before dereferencing it.","modified":"2026-04-02T13:03:16.085492Z","published":"2025-12-16T13:42:47.480Z","related":["SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","openSUSE-SU-2026:20145-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68167.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2f6115ad8864cf3f48598f26c74c7c8e5c391919"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3c91c8f424d3e44c8645ab765a38773e58afb07d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70180a6031056096c93ed2f47c41803268bdd91c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68167.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68167"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-68167.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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/cve-osv-conversion/osv-output/CVE-2025-68167.json"}}],"schema_version":"1.7.5"}