cve.bz

CVE-2021-4154 Use After Free

8.8 highEPSS 1.2%Fix available

High (8.8). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
A use-after-free flaw was found in cgroup1_parse_param in kernel/cgroup/cgroup-v1.c in the Linux kernel's cgroup v1 parser. A local attacker with a user privilege could cause a privilege escalation by exploiting the fsconfig syscall parameter leading to a container breakout and a denial of service on the system.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After 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-4154 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4154?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4154?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-4154 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 NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 5.1 before 5.4.134
linux:linux_kernelfrom 5.5 before 5.10.52
linux:linux_kernelfrom 5.11 before 5.12.19
linux:linux_kernelfrom 5.13 before 5.13.4
linux:linux_kernel5.14:rc1
redhat:virtualization4.0
redhat:enterprise_linux8.0
netapp:hci_baseboard_management_controllerh300e
netapp:hci_baseboard_management_controllerh300s
netapp:hci_baseboard_management_controllerh410s
netapp:hci_baseboard_management_controllerh500e
netapp:hci_baseboard_management_controllerh500s
netapp:hci_baseboard_management_controllerh700e
netapp:hci_baseboard_management_controllerh700s

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.14.6-1DEBIAN-CVE-2021-4154
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1057.60~18.04.1UBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1059.62~18.04.1UBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1053.57~18.04.1UBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1053.56~18.04.1UBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1024.25~18.04.1UBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-87.98~18.04.1UBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1055.59~18.04.1UBUNTU-CVE-2021-4154
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1044.48~18.04.1UBUNTU-CVE-2021-4154
Ubuntu20.04:LTSlinux5.4.0-88.99UBUNTU-CVE-2021-4154
Ubuntu20.04:LTSlinux-aws5.4.0-1057.60UBUNTU-CVE-2021-4154
23 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-348, kpatch-patch-4_18_0-348-debuginfo, kpatch-patch-4_18_0-348-debugsource0:1-3.el8RHSA-2022:0849
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-348_12_2, kpatch-patch-4_18_0-348_12_2-debuginfo, kpatch-patch-4_18_0-348_12_2-debugsource0:1-1.el8_5RHSA-2022:0849
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-348_2_1, kpatch-patch-4_18_0-348_7_1, kpatch-patch-4_18_0-348_2_1-debuginfo and 3 more0:1-2.el8_5RHSA-2022:0849
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-348.20.1.el8_5RHSA-2022:0825
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-348.20.1.el8_5RHSA-2022:0825
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-348.20.1.rt7.150.el8_5RHSA-2022:0819
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-348.20.1.rt7.150.el8_5RHSA-2022:0819
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305, kpatch-patch-4_18_0-305-debuginfo, kpatch-patch-4_18_0-305-debugsource0:1-10.el8RHSA-2022:0231
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305_10_2, kpatch-patch-4_18_0-305_10_2-debuginfo, kpatch-patch-4_18_0-305_10_2-debugsource0:1-7.el8_4RHSA-2022:0231
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305_12_1, kpatch-patch-4_18_0-305_12_1-debuginfo, kpatch-patch-4_18_0-305_12_1-debugsource0:1-6.el8_4RHSA-2022:0231
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305_17_1, kpatch-patch-4_18_0-305_19_1, kpatch-patch-4_18_0-305_17_1-debuginfo and 3 more0:1-5.el8_4RHSA-2022:0231
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305_25_1, kpatch-patch-4_18_0-305_25_1-debuginfo, kpatch-patch-4_18_0-305_25_1-debugsource0:1-4.el8_4RHSA-2022:0231
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 morekernel-default5.3.18-150300.59.68.1SUSE-SU-2022:1687-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1014-2.2SUSE-SU-2022:0291-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1113-2.2SUSE-SU-2022:0291-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1210-2.2SUSE-SU-2022:0254-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1310-2.2SUSE-SU-2022:0292-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_14, kernel-livepatch-SLE15-SP2_Update_168-2.2SUSE-SU-2022:0241-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_158-2.2SUSE-SU-2022:0254-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_177-2.2SUSE-SU-2022:0241-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_186-2.2SUSE-SU-2022:0241-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_010-3.2SUSE-SU-2022:0293-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_1, kernel-livepatch-SLE15-SP3_Update_38-150300.2.2SUSE-SU-2022:0295-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_181-150300.7.5.1SUSE-SU-2022:1687-1
12 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.68.1SUSE-SU-2022:1687-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.56.1SUSE-SU-2022:1676-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.68.1.150300.18.41.3SUSE-SU-2022:1687-1
openSUSELeap 15.4dtb-aarch64, kernel-preempt5.3.18-150300.59.68.1SUSE-SU-2022:1687-1
AlmaLinux8kernel-tools-libs-devel4.18.0-348.20.1.el8_5ALSA-2022:0825
Rocky Linux8kernel0:4.18.0-348.20.1.el8_5RLSA-2022:0825
Rocky Linux8kernel-rt0:4.18.0-348.20.1.rt7.150.el8_5RLSA-2022:0819

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-348.20.1.rt7.150.el8_5Fixed 2022-03-10RHSA-2022:0819
Red Hat Enterprise Linux 8kernel-0:4.18.0-348.20.1.el8_5Fixed 2022-03-10RHSA-2022:0825
Red Hat Enterprise Linux 8kpatch-patchFixed 2022-03-14RHSA-2022:0849
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-rt-0:4.18.0-305.34.2.rt7.107.el8_4Fixed 2022-01-19RHSA-2022:0187
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-0:4.18.0-305.34.2.el8_4Fixed 2022-01-19RHSA-2022:0186
Red Hat Enterprise Linux 8.4 Extended Update Supportkpatch-patchFixed 2022-01-24RHSA-2022:0231
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.4.10-202203101736_8.5Fixed 2022-03-14RHSA-2022:0841
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-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-4154.

References

Check your stackJSON