CVE-2026-68151: binfmt_elf_fdpic: only honour the first PT_INTERP
In the Linux kernel, the following vulnerability has been resolved:
binfmtelffdpic: only honour the first PTINTERP
The program header scan handles PTINTERP from a switch nested in the scan loop, so its break leaves the switch and not the loop. A binary carrying more than one PTINTERP runs the case again and overwrites both interpretername and interpreter. The previous name allocation leaks and so does the previous interpreter reference, along with the write denial openexec() 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. binfmtelf stops at the first PTINTERP. 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").
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68151?
The severity of CVE-2026-68151 is rated at risk 33.
What does CVE-2026-68151 affect?
CVE-2026-68151 affects the Linux kernel's handling of the PT_INTERP program header.
How do I fix CVE-2026-68151?
To fix CVE-2026-68151, you should update to the latest patched version of the Linux kernel.
What are the consequences of CVE-2026-68151?
CVE-2026-68151 could lead to improper handling of binaries that carry more than one PT_INTERP, potentially causing unexpected behavior.
When was CVE-2026-68151 published?
CVE-2026-68151 was published on August 10, 2026.