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

orangefs: fix double-free of trailer_buf on readdir copy failure

On a readdir downcall, orangefs_devreq_write_iter() frees
op->downcall.trailer_buf with vfree() when copy_from_iter_full() fails,
but does not clear the pointer before goto Efault. The waiter in
do_readdir() is then woken with a negative status and frees the same
pointer again on its r < 0 path, causing a deterministic double-free.
A client holding /dev/pvfs2-req triggers it by sending a readdir
downcall whose declared trailer_size exceeds the bytes it supplies.

Clear the pointer after freeing so the readdir-side vfree() becomes a
no-op.
Published: 2026-09-11
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel double‑free leading to memory corruption
Action: Patch kernel
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s orangefs filesystem driver, where a readdir operation can trigger a double‑free of the trailer buffer when copy_from_iter_full() fails. The first free occurs in orangefs_devreq_write_iter(), but the pointer is not cleared before control flows to error handling; later, do_readdir() frees the same pointer again. This deterministic double‑free is a classic example of CWE‑763 (Improper Memory Management) and can corrupt kernel heap memory, potentially allowing an attacker to execute arbitrary code or crash the system.

Affected Systems

All Linux kernel releases that include the orangefs module are affected, as the flaw exists in the kernel source shared by all vendors. A client that can access /dev/pvfs2-req—typically a local user with appropriate permissions—can trigger the issue by issuing a readdir downcall with a trailer_size larger than the actual data supplied.

Risk and Exploitability

The CVSS score of 4.1 indicates low severity, while the EPSS score of less than 1% suggests a very small probability of exploitation in the wild. The bug is not listed. The exploitation vector is local: an attacker must have privileges sufficient to perform the malicious readdir operation on /dev/pvfs2-req. Because the double‑free is deterministic but would still require additional steps to achieve arbitrary code execution, the overall risk for typical deployments is modest, though denial of service can immediately affect affected systems.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains the orangefs double‑free fix.
  • Disable or unload the orangefs module if it is not required.
  • Restrict access to /dev/pvfs2-req so that only trusted users can perform readdir operations.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

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

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/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: fix double-free of trailer_buf on readdir copy failure On a readdir downcall, orangefs_devreq_write_iter() frees op->downcall.trailer_buf with vfree() when copy_from_iter_full() fails, but does not clear the pointer before goto Efault. The waiter in do_readdir() is then woken with a negative status and frees the same pointer again on its r < 0 path, causing a deterministic double-free. A client holding /dev/pvfs2-req triggers it by sending a readdir downcall whose declared trailer_size exceeds the bytes it supplies. Clear the pointer after freeing so the readdir-side vfree() becomes a no-op.
Title orangefs: fix double-free of trailer_buf on readdir copy failure
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-11T19:43:48.096Z

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

Link: CVE-2026-89498

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-09-11T20:19:31.940

Link: CVE-2026-89498

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-89498 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T04:30:08Z

Weaknesses
  • CWE-763

    Release of Invalid Pointer or Reference