CVE-2025-68167

gpiolib: fix invalid pointer access in debugfs

State
Published
Severity
7.8 High
Published
Dec 16, 2025
Updated
Aug 5, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e348544f7994d252427ed3ae637c7081cbb90f66 to before 70180a6031056096c93ed2f47c41803268bdd91cAffected
  • e348544f7994d252427ed3ae637c7081cbb90f66 to before 3c91c8f424d3e44c8645ab765a38773e58afb07dAffected
  • e348544f7994d252427ed3ae637c7081cbb90f66 to before 2f6115ad8864cf3f48598f26c74c7c8e5c391919Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.58 through 6.12.*Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.