Description
In the Linux kernel, the following vulnerability has been resolved:

orangefs: skip leading spaces before parsing client debug masks

orangefs_prepare_cdm_array() sizes each client debug keyword buffer
with strcspn(cds_head, " "), but then parses the keyword with %s. The
%s conversion skips leading whitespace, while strcspn() does not.

If a client debug entry starts with a space, the allocation can be sized
for an empty keyword while sscanf() copies the following non-empty token.
This can write past the end of the allocated keyword buffer.

Skip leading spaces before computing the keyword length so the allocation
matches the string parsed by sscanf().
Published: 2026-09-11
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption that can lead to privilege escalation
Action: Patch kernel
AI Analysis

Impact

In the Linux kernel’s orangefs module, the code that prepares client debug masks incorrectly calculates the buffer size for debug keywords. It measures the length of a keyword up to a space but then parses the keyword using a format specifier that discards leading whitespace. If a debug entry begins with a leading space, the allocated buffer is too small for the actual keyword, and a subsequent string copy overruns the buffer. This out‑of‑bounds write corrupts kernel memory and, because it occurs in the kernel, can be leveraged by an attacker with the appropriate level of access to execute arbitrary code, crash the system, or potentially elevate privileges. The vulnerability is a classic memory overwrite (CWE‑120).

Affected Systems

The affected systems are any Linux kernel installations that include the orangefs module and have not yet applied the upstream patch referenced in the commit logs. Since the advisory lists the broad Linux kernel CPE, every distribution running a kernel version before the fix is considered vulnerable. No specific vendor or version details are supplied.

Risk and Exploitability

The overall risk is moderate with an EPSS score of < 1% and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 5.6 indicates moderate severity. Exploitation requires a user to supply a debug mask entry with a leading space, suggesting a local or privileged‑user attack vector. Based on the description, it is inferred that an attacker could trigger an out‑of‑bounds write by supplying a malformed debug entry, potentially leading to kernel memory corruption that might permit privilege escalation or system instability. No public could be leveraged by a local attacker to gain administrative privileges or destabilize the system.

Generated by OpenCVE AI on September 13, 2026 at 04:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the OrangeFS patch from the upstream kernel repository.
  • If an immediate kernel upgrade is infeasible, disable OrangeFS debugging or remove leading spaces from any existing debug mask configuration files to prevent the allocation error.
  • Continuously monitor kernel logs for orphaned orangefs debug messages and apply subsequent upstream patches as they are released.

Generated by OpenCVE AI on September 13, 2026 at 04:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 13 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H'}

threat_severity

Moderate


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: orangefs: skip leading spaces before parsing client debug masks orangefs_prepare_cdm_array() sizes each client debug keyword buffer with strcspn(cds_head, " "), but then parses the keyword with %s. The %s conversion skips leading whitespace, while strcspn() does not. If a client debug entry starts with a space, the allocation can be sized for an empty keyword while sscanf() copies the following non-empty token. This can write past the end of the allocated keyword buffer. Skip leading spaces before computing the keyword length so the allocation matches the string parsed by sscanf().
Title orangefs: skip leading spaces before parsing client debug masks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-13T06:30:04.971Z

Reserved: 2026-09-11T19:38:34.714Z

Link: CVE-2026-89497

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:31.820

Modified: 2026-09-13T07:17:12.973

Link: CVE-2026-89497

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-11T19:43:47Z

Links: CVE-2026-89497 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T05:45:17Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')