Impact
The Linux kernel contains a flaw in the binfmt_misc handling of executable files. A helper flag is set too early during the execution of a binary that is matched against a binfmt_misc entry. If the interpreter specified in the entry fails to open, the flag incorrectly remains set while the real executable pointer is still NULL. Subsequent kernel code improperly dereferences this NULL pointer, causing a kernel crash. The flaw manifests as a null pointer dereference and results in a denial of service for the affected system. The weakness is a classic instance of missing validation before use, matching CWE‑476.
Affected Systems
All Linux kernel installations that allow binfmt_misc to be mounted in user namespaces are impacted. The bug is present in any kernel version that includes the current binfmt_misc implementation and has not applied the fix referenced in the provided commit ranges. Users who rely on this kernel to run user‑defined interpreter formats are at risk.
Risk and Exploitability
Unprivileged local users can mount binfmt_misc anonymously within a user namespace, register an executable type that points to an interpreter on, for example, a FUSE mount, and force the interpreter open to fail with -ENOEXEC. This failure leaves the kernel in an inconsistent state where a NULL executable pointer is used. Because the vulnerability is triggered by a normal execution path and does not require elevated privileges, the attack vector is local, unprivileged. The vulnerability is not listed in the CISA KEV catalog and the EPSS score is < 1%, indicating a low probability of exploitation. However, given the local nature of the attack and the kernel crash outcome, the risk to affected systems remains high, though the CVSS score of 5.5 denotes moderate severity.
OpenCVE Enrichment
Debian DLA