CVE-2021-3492: Privilege Escalation and DoS in Ubuntu shiftfs (ZDI-CAN-13562)
- Vendor
- Canonical
CVE-2021-3492 is a vulnerability in shiftfs, an out-of-tree stacking file system used in Ubuntu Linux kernels. The vulnerability arises from improper handling of faults during copy_from_user(), which can result in a double-free or memory not being freed. This flaw can be exploited by an attacker to cause a denial of service (kernel memory exhaustion) or to execute arbitrary code with elevated privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a local attacker to cause a denial of service by exhausting kernel memory or to escalate privileges by executing arbitrary code in the kernel context. This can lead to full system compromise.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, consider disabling shiftfs or restricting access to untrusted users. Limit the ability to mount or interact with shiftfs to trusted users only.
Remediation
Patch, then assume compromise.
Apply the security updates provided by Ubuntu that address the improper memory handling in shiftfs. Ensure that your system is running a kernel version with the patch for CVE-2021-3492.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-3492 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-3492 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-3492?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-3492, the earliest disclosed Jun 28, 2021.
- Is there a patch for CVE-2021-3492?
- Apply the security updates provided by Ubuntu that address the improper memory handling in shiftfs. Ensure that your system is running a kernel version with the patch for CVE-2021-3492.
- What products are affected by CVE-2021-3492?
- Canonical Ubuntu Linux.
- How severe is CVE-2021-3492?
- CVE-2021-3492 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 1.5% (75th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.