Bug 2422681 (CVE-2025-68167) - CVE-2025-68167 kernel: gpiolib: fix invalid pointer access in debugfs
Summary: CVE-2025-68167 kernel: gpiolib: fix invalid pointer access in debugfs
Keywords:
Status: NEW
Alias: CVE-2025-68167
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-16 14:03 UTC by OSIDB Bzimport
Modified: 2025-12-17 03:29 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-16 14:03:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.