Linux kernel mount namespace authorization bypass in do_change_type()
CVE-2025-38498 is an authorization vulnerability in the Linux kernel do_change_type() function, which handles mount propagation changes. The function did not restrict these operations to mounted objects belonging to the caller's mount namespace, permitting changes involving unmounted mounts or mounts outside that namespace. Introduced in Linux 2.6.15, the flaw undermines mount-namespace isolation and can potentially cause system-wide denial of service. The fix rejects operations on unmounted or foreign-namespace mounts, aligning authorization checks with other mount(2) operations.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A local attacker with mount privileges could modify mount propagation flags outside the intended namespace boundary, altering or disrupting mount behavior in other namespaces and potentially causing system-wide denial of service. Limited integrity impact through unauthorized mount-state changes is possible; confidentiality loss, arbitrary code execution, and privilege escalation are not established.
If you can’t patch tonight, do this now.
No validated vulnerability-specific workaround is available. Until patched, reduce exposure by restricting mount operations and CAP_SYS_ADMIN to trusted workloads and users. Where operationally feasible, limit unprivileged user namespaces. These measures reduce attack surface but do not replace the kernel update.
Patch, then assume compromise.
Install a vendor-supported kernel update containing the do_change_type() namespace-validation fix and reboot into the updated kernel. Upstream fixed releases include 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3, and 6.16; use a current supported release rather than cherry-picking individual commits. Distribution kernels may contain backported fixes despite lower upstream version numbers. RHEL 8.10 provides the fix in 4.18.0-553.76.1.el8_10, while affected Google Container-Optimized OS kernel packages are fixed in version 18244.448.6 or later.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
40 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.