VDB

CVE-2026-74483

CVE-2026-74483 PUBLISHED

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

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: don't leak the user namespace when the mount fails bm_get_tree() takes a reference to the user namespace and hands it to get_tree_keyed() as the sget key. sget_fc() moves that reference into sb->s_fs_info and clears fc->s_fs_info, so from that point on the superblock owns it and bm_free() doesn't see it anymore. The superblock drops it in ->put_super(). But generic_shutdown_super() only calls ->put_super() from inside the if (sb->s_root) branch, so nothing releases it when bm_fill_super() fails: - The kzalloc_obj() failure leaves s_root NULL and the whole branch is skipped. - A simple_fill_super() failure in the file loop leaves s_root set, but s_op still points at simple_super_operations, which has no ->put_super(). bm_fill_super() installs s_ops only once simple_fill_super() returned success, and installing it earlier wouldn't help either because simple_fill_super() overwrites s_op. Either way vfs_get_super() calls deactivate_locked_super() and the reference is gone for good. binfmt_misc mounts are available in a user namespace and both the inode and the dentry cache are SLAB_ACCOUNT, so an unprivileged caller under a tight memory cgroup can fail simple_fill_super() on demand and leak one user namespace per attempt. Drop the reference in ->kill_sb() instead, which runs unconditionally, the same way nfsd and rpc_pipefs release their keyed s_fs_info. That also stops ->put_super() from clearing s_fs_info while the superblock is still on @fs_supers. generic_shutdown_super() leaves it there on purpose so that sget_fc() keeps finding it until kill_sb() has run, but a NULL s_fs_info makes test_keyed_super() miss it, so a concurrent mount for the same user namespace skips the grab_super() wait and creates a second superblock for a namespace that is still being torn down.

EPSS 0.17% · 6.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.110-135.201Amazon Linux1:1.0-0.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.110-135.201.amzn2023
perf6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.48-107.148.amzn2023

Risk scores

EPSS Score
0.17%
6.1th percentile

Affected products

VendorProductVersions
LinuxLinux21ca59b365c091d583f36ac753eaa8baf947be6f, 21ca59b365c091d583f36ac753eaa8baf947be6f, 21ca59b365c091d583f36ac753eaa8baf947be6f
LinuxLinux6.7, 0, 6.12.105
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.12-tools0
amazon:2023perf6.180
amazon:2023kernel6.12-devel0
amazon:2023perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel6.7, 6.7, 6.7
amazon:2023microvm-kernel6.180
amazon:2023kernel6.180
amazon:2023python3-perf6.180
LinuxLinux6.18.46, 21ca59b365c091d583f36ac753eaa8baf947be6f, 21ca59b365c091d583f36ac753eaa8baf947be6f
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.180
amazon:2023kernel6.18-headers0

…and 7 more

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 16, 2026 EPSS Score (13 in total, the first dated here)
  • Aug 19, 2026 Security Advisory
  • Aug 23, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74483
vulnetix vdb fixes CVE-2026-74483

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74483/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›