
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68239 is a Linux kernel vulnerability in the binfmt_misc subsystem where write access is not properly restored when an error occurs during executable file registration. Specifically, bm_register_write() opens an executable file via open_exec(), which internally denies write access to prevent modification during execution; however, on error paths, the file is closed with filp_close() without first calling exe_file_allow_write_access(), leaving write permissions permanently revoked. This affects the Linux kernel starting from version 5.12 and was published on December 16, 2025. No CVSS score has been assigned by NVD at this time, and the CVE status is listed as "Deferred" for NVD enrichment (NVD, Feedly).
The root cause is improper resource cleanup in the bm_register_write() function within the Linux kernel's binfmt_misc module (CWE not formally assigned by NVD). When open_exec() is called, it internally invokes do_open_execat(), which denies write access to the target file as a security measure to prevent modification of a file being executed. If a subsequent error occurs before registration completes, the error path calls filp_close() directly without first invoking exe_file_allow_write_access() to restore write permissions, resulting in a persistent denial of write access to the affected file. The fix involves inserting a call to exe_file_allow_write_access() before filp_close() in the error handling path. Patches are referenced in multiple stable kernel commits (NVD, Kernel Patch 1, Kernel Patch 2).
The primary impact of this vulnerability is an availability issue: after a failed binfmt_misc registration attempt, subsequent write operations to the affected executable file will fail because write access is not restored. This can prevent legitimate updates, patching, or modification of the affected binary, potentially disrupting system operations or software update workflows. The vulnerability does not directly enable remote code execution, privilege escalation, or data exfiltration, making its confidentiality and integrity impact minimal; the effect is localized to the specific file whose write access was incorrectly denied (NVD).
The fix has been applied to multiple Linux stable kernel branches via upstream commits, including e785f552ab04, 90f601b497d7, 480ac88431703f, 6cce7bc7fac8, fbab8c08e1a6, and 54274ff90488. Downstream distributions including Debian (linux 6.12.85+1, DSA-6238, DSA-6243, DLA-4561) and Amazon Linux 2023 (ALAS2023-2026-1594, ALAS2023-2026-1681) have released updated packages. Users should update to the latest patched kernel version provided by their Linux distribution. No configuration-based workaround is available; patching is the only remediation (NVD, Amazon Linux Advisory, Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."