Skip to main content

Linux Kernel CVE-2025-68167

HIGH
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to debugfs
  2. Delivery
    Open /sys/kernel/debug/gpio under memory pressure
  3. Exploit
    kzalloc fails in gpiolib_seq_start
  4. Execution
    gpiolib_seq_stop dereferences uninitialized pointer
  5. Impact
    Kernel oops / denial of service

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access to the GPIO debugfs seq_file interface (typically /sys/kernel/debug/gpio), which mandates a kernel built with CONFIG_DEBUG_FS and debugfs mounted - and by default this is readable only by root. The vulnerable branch is reached ONLY when the kzalloc() allocation in gpiolib_seq_start() fails, i.e. under genuine kernel memory exhaustion that the attacker cannot directly force. Limiting factors: root-level debugfs permissions in default configurations, dependence on a non-attacker-controlled allocation failure, and no remote vector (local only). These make practical, reliable exploitation unlikely despite the HIGH base score.

Impact

The assigned CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8) appears substantially overstated for this defect. In practice, GPIO debugfs entries are typically root-readable only (implying PR:H, not PR:L), triggering the bug requires a kernel memory allocation to fail (AC:H, not AC:L, and not attacker-controllable), and the realistic outcome is a NULL/uninitialized-pointer dereference causing a crash - an availability impact, not the full C:H/I:H/A:H claimed. EPSS is very low (0.17%), there is no KEV listing and no known public exploit, all consistent with a low-priority, hard-to-trigger local DoS. The 'Information Disclosure' tag conflicts with the described mechanism, so the confidentiality claim should be treated skeptically and verified against the actual patch. Net: low real-world priority despite the HIGH CVSS number; remediate during normal kernel update cycles.

Exploit ScenarioDerived

A local user or process with access to /sys/kernel/debug/gpio reads the GPIO debugfs file at a moment of kernel memory pressure; if the seq_file state allocation fails, the stop callback dereferences an uninitialized pointer and panics the kernel, causing a denial of service. Exploitation is opportunistic and not reliably controllable, and no public proof-of-concept exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Denial-of-service via invalid pointer access exists in the Linux kernel gpiolib debugfs interface, where a failed memory allocation in gpiolib_seq_start() leaves s->private uninitialized and later dereferenced in gpiolib_seq_stop(), crashing the kernel. The flaw affects systems exposing the GPIO debugfs seq_file (/sys/kernel/debug/gpio) and is triggerable only under memory-allocation failure. No public exploit identified at time of analysis; EPSS is low (0.17%, 7th percentile) and it is not on CISA KEV.

RemediationAI

Upstream fix available (stable commits/backports); a released patched version is not independently confirmed from the provided data - apply the kernel update from your distribution that incorporates stable commits 2f6115ad8864, 3c91c8f424d3, and 70180a603105 (git.kernel.org/stable). As a compensating control until patched, restrict or avoid mounting debugfs (do not mount /sys/kernel/debug on hardened/production systems, or keep its default root-only 0700 permissions), since the vulnerable path is only reachable through the GPIO debugfs seq_file; the trade-off is loss of GPIO and other debugfs diagnostics. Because the trigger depends on an allocation failure rather than attacker input, no reliable runtime workaround exists beyond removing access to the interface.

Affected ProductsAI

The Linux kernel gpiolib GPIO subsystem is affected in versions preceding the stable fixes. Exact affected version ranges are not enumerated in the provided data (no CPE strings supplied); the fix is distributed across three stable-tree commits: https://git.kernel.org/stable/c/2f6115ad8864cf3f48598f26c74c7c8e5c391919, https://git.kernel.org/stable/c/3c91c8f424d3e44c8645ab765a38773e58afb07d, and https://git.kernel.org/stable/c/70180a6031056096c93ed2f47c41803268bdd91c, indicating backports across multiple stable series. Systems most relevant are those built with CONFIG_DEBUG_FS and with the GPIO debugfs interface mounted.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The bug lives in gpiolib (drivers/gpio/gpiolib.c), the kernel's core GPIO subsystem, specifically its debugfs seq_file iterator. seq_file's start/stop callbacks share state through s->private; gpiolib_seq_start() allocates that state with kzalloc() but, on allocation failure, returns without initializing s->private, which gpiolib_seq_stop() then dereferences unconditionally. The root-cause class is access of an uninitialized/NULL pointer (CWE-824/CWE-457, though NVD lists CWE as N/A). The fix initializes s->private to NULL before kzalloc() and null-checks it before use. Although the source tags this 'Information Disclosure,' the described code path is a use-of-uninitialized-pointer leading to a kernel oops rather than an actual data leak.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 1.9 LOW

Local root-only debugfs access (PR:H, AV:L) plus dependence on a non-controllable allocation failure (AC:H) yield only a kernel-crash availability impact (A:L), no confidentiality or integrity loss.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 6.7 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2025-68167 is a denial-of-service vulnerability in the Linux kernel GPIO debugging interface that crashes systems under specific memory-stress conditions. The risk is severely constrained by low exploitability (EPSS 0.2%), no public exploit identified, and impact limited to systems with GPIO hardware exposing the debugfs interface. Most organizations face minimal operational risk from this vulnerability.

Business Impact: Low
Compensating Controls

Restrict /sys/kernel/debug filesystem access to root or trusted administrators via mount options (mount -o remount,mode=0700 /sys/kernel/debug); disable the gpiolib_debugfs kernel module on systems where GPIO debugging is not required; implement centralized alerting for kernel panic messages containing NULL pointer dereferences; audit access logs to verify debugfs is not exposed to untrusted users.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel gpiolib is core to virtually all Linux deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Image SL-Micro Affected
Container suse/sl-micro/6.0/toolbox:latest Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
SUSE Linux Enterprise High Availability Extension 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy