cve.bz

CVE-2021-3492 canonical ubuntu linux: Double Free

7.8 highEPSS 1.5%Fix available

High (7.8) in canonical ubuntu linux. EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
Shiftfs, an out-of-tree stacking file system included in Ubuntu Linux kernels, did not properly handle faults occurring during copy_from_user() 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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-401 Missing Release of Memory after Effective Lifetime
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3492?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3492?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3492 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Ubuntu Linux kernelfrom 5.8 kernel before 5.8.0-50.56
Ubuntu Linux kernelfrom 5.4 kernel before 5.4.0-72.80

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-3492
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1045.47~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1046.48~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-gcp, linux-azure, linux-aws-5.0 and 8 moreno fix listedUBUNTU-CVE-2021-3492
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1042.45~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-gke-5.35.3.0-1042.45UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1042.44~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1014.15~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-hwe5.3.0-73.69UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-72.80~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1043.46~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1034.37~18.04.1UBUNTU-CVE-2021-3492 USN-4917-1
28 more for Ubuntu in the JSON and on Ubuntu's page.

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Shiftfs has not been accepted in the upstream Linux kernel. It is both non included to the any versions of the Red Hat Enterprise Linux.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3492.

References

Check your stackJSON