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

binfmt_elf_fdpic: only honour the first PT_INTERP

The program header scan handles PT_INTERP from a switch nested in the
scan loop, so its break leaves the switch and not the loop. A binary
carrying more than one PT_INTERP runs the case again and overwrites both
interpreter_name and interpreter. The previous name allocation leaks and
so does the previous interpreter reference, along with the write denial
open_exec() took on it. The denial is never released, so the file stays
unwritable for as long as the system runs.

An unprivileged caller reaches this with a crafted binary and repeats it
at will. binfmt_elf stops at the first PT_INTERP. Do the same here.

The flaw dates back to the driver's introduction in the pre-git history
tree introduced in v2.6.11 by 91808d6ebe39 ("[PATCH] FRV: Add FDPIC ELF
binary format driver").
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s binfmt_elf_fdpic module contains a flaw in its handling of multiple PT_INTERP headers in an ELF binary. During the parsing loop, a break inside a nested switch only exits the switch and not the outer loop, causing the module to reprocess additional PT_INTERP entries. This leads to the interpreter name and reference being overwritten, leaking the previous allocations, and, more critically, leaving a write denial on the interpreter file that remains in effect as long as the system runs. An unprivileged user can craft a binary containing multiple PT_INTERP segments and trigger this behavior repeatedly, resulting in a denial of write access to an interpreter and potential denial of service.

Affected Systems

The vulnerability originates in the Linux kernel and affects all Linux distributions that include the binfmt_elf_fdpic module starting from kernel version 2.6.11, the initial commit that introduced FDPIC ELF support. Any system running a kernel that has not applied the fix for CVE‑2026‑68151 is susceptible. The fix is in the stable kernel branches, so all downstream vendors should update their kernel packages.

Risk and Exploitability

The flaw can be exploited locally by any unprivileged user who can upload or execute a malicious ELF file with multiple PT_INTERP entries. While the EPSS score is not available, the absence of a KEV listing suggests no widespread exploitation has been reported at the time of analysis. The attack vector is purely local, requiring the ability to run a crafted binary. The severity is significant because it results in a persistent denial of write access to an interpreter file, which can interfere with system updates or other binaries that rely on the same interpreter. The mitigations rely on applying the kernel patch or disabling the vulnerable module.

Generated by OpenCVE AI on August 10, 2026 at 14:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the CVE‑2026‑68151 fix.
  • If a kernel upgrade is not immediately possible, disable the binfmt_elf_fdpic module by adding a blacklist entry such as ‘blacklist binfmt_elf_fdpic’ or removing it via modprobe -r binfmt_elf_fdpic.
  • Ensure that no untrusted ELF binaries with multiple PT_INTERP segments are executed; consider scanning or restricting binary uploads to trusted sources.

Generated by OpenCVE AI on August 10, 2026 at 14:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-732
CWE-759

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: binfmt_elf_fdpic: only honour the first PT_INTERP The program header scan handles PT_INTERP from a switch nested in the scan loop, so its break leaves the switch and not the loop. A binary carrying more than one PT_INTERP runs the case again and overwrites both interpreter_name and interpreter. The previous name allocation leaks and so does the previous interpreter reference, along with the write denial open_exec() took on it. The denial is never released, so the file stays unwritable for as long as the system runs. An unprivileged caller reaches this with a crafted binary and repeats it at will. binfmt_elf stops at the first PT_INTERP. Do the same here. The flaw dates back to the driver's introduction in the pre-git history tree introduced in v2.6.11 by 91808d6ebe39 ("[PATCH] FRV: Add FDPIC ELF binary format driver").
Title binfmt_elf_fdpic: only honour the first PT_INTERP
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-08-10T11:59:16.878Z

Reserved: 2026-07-30T09:28:09.371Z

Link: CVE-2026-68151

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T14:15:03Z

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource

  • CWE-759

    Use of a One-Way Hash without a Salt