CVE-2021-3492: Ubuntu linux kernel shiftfs file system double free vulnerability

Published Apr 17, 2021
·
Updated

Last updated 27 August 2026

Other sources

Shiftfs, an out-of-tree stacking file system included in Ubuntu Linux kernels, did not properly handle faults occurring during copyfromuser() correctly. These could lead to either a double-free situation or memory not being freed at all. An attacker could use this to cause a denial of service (kernel memory exhaustion) or gain privileges via executing arbitrary code. AKA ZDI-CAN-13562.

Launchpad

This vulnerability allows local attackers to escalate privileges on affected installations of Canonical Ubuntu. An attacker must first obtain the ability to execute high-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the ShiftFS module. The issue results from the lack of validating the existence of an object prior to performing further free operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute code in the context of the kernel.

ZDI

Affected Software

5 affected componentsFixes available
Canonical Ubuntu Linux<18.04
Canonical Ubuntu Linux>=18.04.1<20.04
Canonical Ubuntu Linux<20.10
Canonical Ubuntu
debian/linux
6.1.176-16.1.187-16.12.94-16.12.107-17.1.12-17.1.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.94-1Fixed in 6.12.107-1Fixed in 7.1.12-1Fixed in 7.1.13-1

Event History

Apr 17, 2021
CVE Published
via MITRE·04:20 AM
Data Sourced
via MITRE·04:20 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 21, 2021
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:57 PM
Description
Aug 27, 2026
Data Sourced
via Ubuntu·12:42 PM
RemedyDescriptionSeverityAffected Software
Sep 8, 2026
Data Sourced
via Debian·12:43 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-3492?

CVE-2021-3492 has a medium severity level due to potential memory issues leading to vulnerabilities.

2

How do I fix CVE-2021-3492?

You can fix CVE-2021-3492 by upgrading to the recommended kernel versions such as 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.11-1, or 6.12.12-1.

3

Which versions of Ubuntu are affected by CVE-2021-3492?

CVE-2021-3492 affects Ubuntu versions from 18.04 up to 20.10.

4

What type of vulnerabilities does CVE-2021-3492 introduce?

CVE-2021-3492 may introduce double-free situations or situations where memory is not freed, increasing the risk of an attack.

5

Is CVE-2021-3492 an issue with just Ubuntu?

CVE-2021-3492 specifically affects the Shiftfs stacking file system in Ubuntu Linux kernels.

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