{"id":"CVE-2025-68167","aliases":["CVE-2025-68167"],"related":[],"kind":"vulnerability","state":"published","title":"gpiolib: fix invalid pointer access in debugfs","summary":"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->private\nfield remains uninitialized and is later dereferenced without checking\nin gpiolib_seq_stop(). Initialize s->private to NULL before calling\nkzalloc() and check it before dereferencing it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->private\nfield remains uninitialized and is later dereferenced without checking\nin gpiolib_seq_stop(). Initialize s->private to NULL before calling\nkzalloc() and check it before dereferencing it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ngpiolib: corrección de acceso a puntero no válido en debugfs\n\nSi la asignación de memoria en gpiolib_seq_start() falla, el campo s -> private permanece sin inicializar y es posteriormente desreferenciado sin verificar en gpiolib_seq_stop(). Inicialice s -> private a NULL antes de llamar a kzalloc() y verifíquelo antes de desreferenciarlo.","source":"nvd"}],"published":"2025-12-16T13:42:47.480Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e348544f7994d252427ed3ae637c7081cbb90f66","fixed":"70180a6031056096c93ed2f47c41803268bdd91c","status":"affected"},{"type":"git","introduced":"e348544f7994d252427ed3ae637c7081cbb90f66","fixed":"3c91c8f424d3e44c8645ab765a38773e58afb07d","status":"affected"},{"type":"git","introduced":"e348544f7994d252427ed3ae637c7081cbb90f66","fixed":"2f6115ad8864cf3f48598f26c74c7c8e5c391919","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/70180a6031056096c93ed2f47c41803268bdd91c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c91c8f424d3e44c8645ab765a38773e58afb07d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f6115ad8864cf3f48598f26c74c7c8e5c391919","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68167","url":"https://www.cve.org/CVERecord?id=CVE-2025-68167","licence":"CVE Terms of Use","modified":"2026-08-05T12:09:56.647Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68167","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68167","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.475Z","epss":{"score":0.00163,"percentile":0.05767,"date":"2026-12-01T12:00:22.000Z"}}