CVE-2025-68167

Description

A flaw was found in the Linux kernel's GPIO (General Purpose Input/Output) subsystem. Under low-memory conditions, interacting with the debug filesystem (debugfs) can lead to an uninitialized pointer dereference if an internal memory allocation fails. A local attacker with administrative access to debugfs could exploit this vulnerability to trigger a kernel crash, resulting in a Denial of Service (DoS).

Statement

Moderate severity is assigned to this flaw because exploitation requires privileged local access to debugfs, which is restricted to administrative users by default on Red Hat Enterprise Linux. In typical deployment models, unprivileged users cannot interact with the debugfs filesystem to trigger the affected code path. Furthermore, the issue only manifests if a system memory allocation fails during debug sequence operations, limiting the impact to a local denial of service via kernel panic. The lack of remote reachability and the requirement for administrative privileges prevent a higher severity rating.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.7N/A7.8
Attack VectorLocalN/ALocal
Attack ComplexityLowN/ALow
Privileges RequiredHighN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the uninitialized pointer is used in a read operation, it might not point to a valid memory location. An attacker might be able to read sensitive portions of memory.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the uninitialized pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the uninitialized pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible. If the uninitialized pointer is used as a function call, then arbitrary functions could be invoked.

Frequently Asked Questions

Want to get errata notifications? Sign up here.