CVE-2021-4154: Use After Free

Published Dec 14, 2021
·
Updated

A use-after-free flaw was found in cgroup1parseparam in kernel/cgroup/cgroup-v1.c in the Linux kernel cgroup v1 parser, where a local attacker with a user privilege could cause a privilege escalation by exploiting the fsconfig syscall parameter leads to container breakout and a denial of service problem on the system.

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3b0462726e7ef281c35a7a4ae33e93ee2bc9975b

Other sources

A use-after-free flaw was found in cgroup1parseparam 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.

Affected Software

20 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-348.20.1.rt7.150.el8_5
0:4.18.0-348.20.1.rt7.150.el8_5
redhat/kernel<0:4.18.0-348.20.1.el8_5
0:4.18.0-348.20.1.el8_5
redhat/kernel-rt<0:4.18.0-305.34.2.rt7.107.el8_4
0:4.18.0-305.34.2.rt7.107.el8_4
redhat/kernel<0:4.18.0-305.34.2.el8_4
0:4.18.0-305.34.2.el8_4
redhat/kernel<5.14
5.14
Google Android
Linux Linux kernel>=5.1<5.4.134
Linux Linux kernel>=5.5<5.10.52
Linux Linux kernel>=5.11<5.12.19
Linux Linux kernel>=5.13<5.13.4
Linux Linux kernel=5.14-rc1
redhat Virtualization=4.0
redhat Enterprise Linux=8.0
NetApp Hci Baseboard Management Controller=h300e
NetApp Hci Baseboard Management Controller=h300s
NetApp Hci Baseboard Management Controller=h410s
NetApp Hci Baseboard Management Controller=h500e
NetApp Hci Baseboard Management Controller=h500s
NetApp Hci Baseboard Management Controller=h700e
NetApp Hci Baseboard Management Controller=h700s

Remediation

Information

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.

Event History

Dec 14, 2021
CVE Published
12:00 AM
Dec 21, 2021
Data Sourced
via Red Hat·07:54 AM
DescriptionSeverityAffected Software
Feb 4, 2022
CVE Published
via MITRE·10:29 PM
Data Sourced
via MITRE·10:29 PM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-4154.

2

What is the severity of CVE-2021-4154?

CVE-2021-4154 has a severity score of 8.8, which is considered high.

3

How does CVE-2021-4154 affect the Linux kernel's cgroup v1 parser?

CVE-2021-4154 is a use-after-free flaw in cgroup1_parse_param in kernel/cgroup/cgroup-v1.c, which can lead to a privilege escalation, container breakout, and a denial of service attack.

4

Which software is affected by CVE-2021-4154?

The affected software includes Google Android, Red Hat Kernel (up to version 5.14), Red Hat Kernel-RT (up to version 4.18.0-348.20.1), and Red Hat Kernel (up to version 4.18.0-305.34.2).

5

How can I fix the CVE-2021-4154 vulnerability?

To fix the CVE-2021-4154 vulnerability, you should update your software to the recommended versions provided by the respective vendors.

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