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

binfmt_misc: use exe_file_deny_write_access() for the interpreter clone

For MISC_FMT_OPEN_FILE entries load_misc_binary() clones the
registered interpreter file and denies write access to the clone via
plain deny_write_access(). The clone is installed as
bprm->interpreter and later released by the exec machinery through
exe_file_allow_write_access() which skips the i_writecount increment
for files with FMODE_FSNOTIFY_HSM set.

The deny and allow side can therefore come to different conclusions
when pre-content watches are in play: if a pre-content watch is added
to the interpreter after registration every subsequent exec through
that entry takes a write denial on the clone that is never paired
with a write allowance, driving the interpreter inode's i_writecount
further down with each exec and leaving the interpreter unwritable
even after the entry and all its users are gone.

Take the write denial via exe_file_deny_write_access() so both sides
of the pairing base their decision on the same file mode, and
propagate failure instead of silently ignoring it: an interpreter
that is concurrently open for writing now fails the exec with
ETXTBSY, exactly like an interpreter freshly opened via open_exec()
would.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when binfmt_misc clones an interpreter file and incorrectly handles write permissions. During the cloning process, a denial to write access is applied while the corresponding allowance is omitted, which can reduce the interpreter inode's write quota and eventually make the file permanently unwritable. Based on the description, it is inferred that an interpreter concurrently open for writing will cause subsequent execs through that binfmt entry to fail with ETXTBSY, disrupting any binaries that rely on that interpreter. The weakness involves improper access control (CWE‑911).

Affected Systems

All Linux kernel releases before the patch are affected, regardless of distribution. The flaw exists in the core kernel source, so any system running an unpatched kernel is at risk.

Risk and Exploitability

Based on the description, it is inferred that the attack vector is local or requires sufficient file‑system access to set up a pre‑content watch. The CVSS score of 5.5 indicates medium severity. The EPSS score of < 1 % suggests a low probability of exploitation, and the vulnerability is not listed in CISA KEV, further supporting the low exploitation likelihood. An attacker able to influence the interpreter file could cause all dependent binaries to fail, but the vulnerability does not provide remote code execution or privilege escalation.

Generated by OpenCVE AI on August 21, 2026 at 23:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel version that implements exe_file_deny_write_access() for interpreter cloning.
  • If updating the kernel is not feasible, remove binfmt_misc entries that reference the affected interpreter or delete any pre‑content watches on those interpreter files.
  • Restart affected services or reload binaries so that a fresh exec clears the stale write count and restores normal operation.

Generated by OpenCVE AI on August 21, 2026 at 23:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 23 Aug 2026 13:15:00 +0000


Fri, 21 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Thu, 20 Aug 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Low


Sat, 15 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: use exe_file_deny_write_access() for the interpreter clone For MISC_FMT_OPEN_FILE entries load_misc_binary() clones the registered interpreter file and denies write access to the clone via plain deny_write_access(). The clone is installed as bprm->interpreter and later released by the exec machinery through exe_file_allow_write_access() which skips the i_writecount increment for files with FMODE_FSNOTIFY_HSM set. The deny and allow side can therefore come to different conclusions when pre-content watches are in play: if a pre-content watch is added to the interpreter after registration every subsequent exec through that entry takes a write denial on the clone that is never paired with a write allowance, driving the interpreter inode's i_writecount further down with each exec and leaving the interpreter unwritable even after the entry and all its users are gone. Take the write denial via exe_file_deny_write_access() so both sides of the pairing base their decision on the same file mode, and propagate failure instead of silently ignoring it: an interpreter that is concurrently open for writing now fails the exec with ETXTBSY, exactly like an interpreter freshly opened via open_exec() would.
Title binfmt_misc: use exe_file_deny_write_access() for the interpreter clone
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-23T12:47:25.566Z

Reserved: 2026-08-15T05:44:03.905Z

Link: CVE-2026-74486

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:53.497

Modified: 2026-08-23T13:16:44.640

Link: CVE-2026-74486

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74486 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:30:17Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count