CVE-2026-74487: binfmt_misc: restore write access when removing an entry

Published Aug 15, 2026
·
Updated

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

binfmtmisc: restore write access when removing an entry

Registering an entry with the MISCFMTOPENFILE flag opens the interpreter via openexec() which denies write access to it for as long as the entry exists. Removing the entry closes the interpreter file via filpclose() but never restores write access, leaving the inode's iwritecount permanently negative. Opening the interpreter for writing keeps failing with ETXTBSY long after the entry is gone until the inode is evicted from the inode cache.

Commit 90f601b497d7 ("binfmtmisc: restore write access before closing files opened by openexec()") fixed the same imbalance in the error path of bmregisterwrite() but the actual removal path has been leaking the write denial since the introduction of the flag.

Restore write access in putbinfmthandler() before closing the interpreter file.

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 90f601b497d7
  2. Compensating control

    As a mitigation for ETXTBSY continuing until inode eviction, evict/remediate affected inodes from the inode cache (e.g., by restarting the host/service) so the interpreter inode can be reclaimed and writing is restored.

Event History

Aug 15, 2026
CVE Published
via MITRE·12:27 PM
Data Sourced
via MITRE·12:27 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74487?

CVE-2026-74487 has a severity rating of 10, indicating a critical risk level.

2

How do I fix CVE-2026-74487?

To address CVE-2026-74487, it is recommended to update the Linux kernel to the latest patched version.

3

What systems are affected by CVE-2026-74487?

CVE-2026-74487 affects systems running vulnerable versions of the Linux kernel with the binfmt_misc functionality.

4

What is the impact of CVE-2026-74487?

The impact of CVE-2026-74487 may include unauthorized denial of write access when removing binfmt_misc entries, leading to potential security risks.

5

When was CVE-2026-74487 published?

CVE-2026-74487 was published on August 15, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203