cveboard RSS feed

CVE-2026-68186

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

binfmt_misc: set have_execfd only once the interpreter is opened

In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: set have_execfd only once the interpreter is opened load_misc_binary() raises bprm->have_execfd as soon as it sees the 'O' (or 'C') flag. This happens well before it opens the interpreter. If that open fails the flag stays set on the bprm. binfmt_misc is at the head of the format list so an interpreter open failure that returns -ENOEXEC lets the search fall through to a later format. This means it runs the matched binary directly having never staged an interpreter. So bprm->executable is NULL while have_execfd falsely claims a descriptor is present. Consequently, begin_new_exec() dereferences the missing executable: would_dump(bprm, bprm->executable); and NULL derefs. Had it not, the hand-off later in the same function would have failed anyway. FD_ADD(0, bprm->executable) rejects a NULL file with -ENOMEM. Both sites are past the point of no return so the exec cannot be unwound either way. This can be reached by unprivileged users as binfmt_misc can be mounted in user namespaces. So a user can register an 'O' entry whose interpreter lives on a FUSE mount, have the FUSE server fail the open with -ENOEXEC and execute a native ELF file that matches the entry. have_execfd only means anything alongside the executable it describes which is not set until the interpreter has been opened and staged. So lets raise it there, next to execfd_creds, which is already set at that point. An open failure now leaves it clear, so the fallback format derives credentials from the binary and emits no AT_EXECFD, as it would for any native exec. The argv rewrite load_misc_binary() performs before the open is still not undone. This means the binary sees the interpreter path in argv[0] and its own path in argv[1] but that predates this change and only became observable once the exec stopped faulting.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgita8e9e9450df44e9dd529ec5beff283f48f4f4b97UnavailableNone listed
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgita261dc49d99681c9c71f38d16e31812dc3e30412UnavailableNone listed
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgit40c09b7a1d4e0a4866042c87c2bd911bb57566c8UnavailableNone listed
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgit0f19d54e2524f0bf183b82f365ae4e49b4a2f788UnavailableNone listed
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgit2dd0298905e97795a9c5ec30cf5b41975f821632UnavailableNone listed
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgit1cd4e9b7967dab48c9f79a00b06ffff7208c0993UnavailableNone listed
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgit5ccc99d58f94fad258c9c375715b3974e48620e8UnavailableNone listed
bc2bf338d54b7aadaed49bb45b9e10d4592b2a46affectedgitbbf5f639918dc011aaf60aab8480218758ee68c5UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.8affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.8UnavailableNone listed
5.10.265unaffectedsemverUnavailable5.10.*None listed
5.15.216unaffectedsemverUnavailable5.15.*None listed
6.1.183unaffectedsemverUnavailable6.1.*None listed
6.6.148unaffectedsemverUnavailable6.6.*None listed
6.12.101unaffectedsemverUnavailable6.12.*None listed
6.18.42unaffectedsemverUnavailable6.18.*None listed
7.1.6unaffectedsemverUnavailable7.1.*None listed
7.2unaffectedoriginal_commit_for_fixUnavailable*None listed