# CVE-2026-74618: binfmt\_misc: don't warn when the mount is completed from another user namespace

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-22T15:32:02.778Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 37cf5cf1320a84a17225a1690547b8a0812ca94e; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 24e95a24f151ce40d5fc1b3a6cefbcda8ded736c; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 047f927f54c6c17593e93aafe82dcb7acdda2a71; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6
- Anyone running Linux 6.7

## Description

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

binfmt\_misc: don't warn when the mount is completed from another user namespace

fsopen() records the caller's user namespace in fc-\>user\_ns and hands
back an ordinary file descriptor. Nothing ties the task that calls
fsconfig(FSCONFIG\_CMD\_CREATE) to the task that created the context. The
fd is inherited across fork() and exec() and it can be passed over a
unix socket.

Completing a context from another user namespace is allowed on purpose.
vfs\_cmd\_create() authorizes the create with mount\_capable(), which for
FS\_USERNS\_MOUNT checks ns\_capable(fc-\>user\_ns, CAP\_SYS\_ADMIN), and that
succeeds for a task holding CAP\_SYS\_ADMIN in an ancestor of fc-\>user\_ns.
So an unprivileged task can reach the WARN\_ON() in bm\_fill\_super():
create a user and a mount namespace in a child, call
fsopen("binfmt\_misc") there, send the fscontext fd to the parent and let
the parent issue FSCONFIG\_CMD\_CREATE. Both namespaces come from a plain
unshare(1) and no capability is needed anywhere:

  WARNING: fs/binfmt\_misc.c:938 at bm\_fill\_super+0xa2/0xc0 \[binfmt\_misc\]
  CPU: 15 UID: 1000 PID: 3243382 Comm: fswarn
  Call Trace:
   get\_tree\_keyed+0x7d/0xb0
   bm\_get\_tree+0x34/0x90 \[binfmt\_misc\]
   vfs\_get\_tree+0x2a/0x100
   vfs\_cmd\_create+0x60/0xf0
   \_\_do\_sys\_fsconfig+0x4b2/0x500

The child needs the mount namespace because fsopen() itself gates on
may\_mount(), which asks for CAP\_SYS\_ADMIN in the user namespace owning
the caller's mount namespace. fsconfig() doesn't repeat that check.

It is a WARN\_ON() and not a WARN\_ON\_ONCE(), so the condition can be
raised in a loop to taint the kernel and flood the log, and it panics a
kernel booted with panic\_on\_warn.

Keep refusing the mount and stop warning about it. Nothing in
bm\_fill\_super() depends on the two namespaces matching, it derives
everything from sb-\>s\_user\_ns.

## Affected and fixed versions

- Linux: \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 37cf5cf1320a84a17225a1690547b8a0812ca94e; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 24e95a24f151ce40d5fc1b3a6cefbcda8ded736c; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 047f927f54c6c17593e93aafe82dcb7acdda2a71; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74618. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74618.md
Affected: Linux >= 21ca59b365c091d583f36ac753eaa8baf947be6f, < 37cf5cf1320a84a17225a1690547b8a0812ca94e; >= 21ca59b365c091d583f36ac753eaa8baf947be6f, < 24e95a24f151ce40d5fc1b3a6cefbcda8ded736c; >= 21ca59b365c091d583f36ac753eaa8baf947be6f, < 047f927f54c6c17593e93aafe82dcb7acdda2a71; >= 21ca59b365c091d583f36ac…
Fixed in: Linux 37cf5cf1320a84a17225a1690547b8a0812ca94e, Linux 24e95a24f151ce40d5fc1b3a6cefbcda8ded736c, Linux 047f927f54c6c17593e93aafe82dcb7acdda2a71, Linux 79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74618 being exploited?

There is no confirmed exploitation: CVE-2026-74618 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74618?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74618?

Linux \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 37cf5cf1320a84a17225a1690547b8a0812ca94e; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 24e95a24f151ce40d5fc1b3a6cefbcda8ded736c; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 047f927f54c6c17593e93aafe82dcb7acdda2a71; \>= 21ca59b365c091d583f36ac753eaa8baf947be6f, \< 79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6; Linux 6.7.

### Is there a fix for CVE-2026-74618?

Yes. Fixed in Linux 37cf5cf1320a84a17225a1690547b8a0812ca94e, Linux 24e95a24f151ce40d5fc1b3a6cefbcda8ded736c, Linux 047f927f54c6c17593e93aafe82dcb7acdda2a71, Linux 79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6. Upgrade Linux to 79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6 or later.

### How do I check if I'm affected by CVE-2026-74618?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/37cf5cf1320a84a17225a1690547b8a0812ca94e>
- other: <https://git.kernel.org/stable/c/24e95a24f151ce40d5fc1b3a6cefbcda8ded736c>
- other: <https://git.kernel.org/stable/c/047f927f54c6c17593e93aafe82dcb7acdda2a71>
- other: <https://git.kernel.org/stable/c/79fdf39f1a31f88cb3833b6f8091fbf6acdca2c6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74618>

HTML: <https://flawdb.com/CVE-2026-74618> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74618>
