CVE-2026-74483: binfmt_misc: don't leak the user namespace when the mount fails

Published Aug 15, 2026
·
Updated

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

binfmtmisc: don't leak the user namespace when the mount fails

bmgettree() takes a reference to the user namespace and hands it to gettreekeyed() as the sget key. sgetfc() moves that reference into sb->sfsinfo and clears fc->sfsinfo, so from that point on the superblock owns it and bmfree() doesn't see it anymore.

The superblock drops it in ->putsuper(). But genericshutdownsuper() only calls ->putsuper() from inside the if (sb->sroot) branch, so nothing releases it when bmfillsuper() fails:

- The kzallocobj() failure leaves sroot NULL and the whole branch is skipped.

- A simplefillsuper() failure in the file loop leaves sroot set, but sop still points at simplesuperoperations, which has no ->putsuper(). bmfillsuper() installs sops only once simplefillsuper() returned success, and installing it earlier wouldn't help either because simplefillsuper() overwrites sop.

Either way vfsgetsuper() calls deactivatelockedsuper() and the reference is gone for good. binfmtmisc mounts are available in a user namespace and both the inode and the dentry cache are SLABACCOUNT, so an unprivileged caller under a tight memory cgroup can fail simplefillsuper() on demand and leak one user namespace per attempt.

Drop the reference in ->killsb() instead, which runs unconditionally, the same way nfsd and rpcpipefs release their keyed sfsinfo.

That also stops ->putsuper() from clearing sfsinfo while the superblock is still on @fssupers. genericshutdownsuper() leaves it there on purpose so that sgetfc() keeps finding it until killsb() has run, but a NULL sfsinfo makes testkeyedsuper() miss it, so a concurrent mount for the same user namespace skips the grabsuper() wait and creates a second superblock for a namespace that is still being torn down.

Affected Software

1 affected component
Linux Kernel

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-74483?

The severity of CVE-2026-74483 is rated as risk 33.

2

What does CVE-2026-74483 affect?

CVE-2026-74483 affects the Linux kernel's handling of user namespaces in binfmt_misc.

3

How does CVE-2026-74483 impact system security?

CVE-2026-74483 could potentially lead to exposure of the user namespace under certain failure conditions.

4

How do I fix CVE-2026-74483?

To fix CVE-2026-74483, upgrade to the patched version of the Linux kernel that addresses this vulnerability.

5

When was CVE-2026-74483 published?

CVE-2026-74483 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