CVE-2021-4197: High severity linux kernel vulnerability

Published Sep 12, 2021
·
Updated

An unprivileged write to the file handler flaw in the Linux kernel's control groups and namespaces subsystem was found in the way users have access to some less privileged process that are controlled by cgroups and have higher privileged parent process. It is actually both for cgroup2 and cgroup1 versions of control groups. A local user could use this flaw to crash the system or escalate their privileges on the system.

Other sources

In cgroups (control groups) functionality of Linux Kernel found potential security weakness that may allow scenarios where a less privileged process tricks a more privileged one into writing into a fd that it created. This could lead to local escalation of privilege for the containers or other processes that uses cgroups in such a way. User interaction is not needed for exploitation.

Reference and upstream patch: https://lore.kernel.org/lkml/20211209214707.805617-1-tj@kernel.org/T/

Red Hat

Affected Software

36 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-372.9.1.rt7.166.el8
0:4.18.0-372.9.1.rt7.166.el8
redhat/kernel<0:4.18.0-372.9.1.el8
0:4.18.0-372.9.1.el8
redhat/kernel-rt<0:4.18.0-305.57.1.rt7.129.el8_4
0:4.18.0-305.57.1.rt7.129.el8_4
redhat/kernel<0:4.18.0-305.57.1.el8_4
0:4.18.0-305.57.1.el8_4
redhat/Linux kernel<5.17
5.17
Linux Linux kernel>=4.2<4.14.276
Linux Linux kernel>=4.15<4.19.238
Linux Linux kernel>=4.20<5.4.189
Linux Linux kernel>=5.5<5.10.111
Linux Linux kernel>=5.11<5.15.14
Oracle Communications Cloud Native Core Binding Support Function=22.1.1
Oracle Communications Cloud Native Core Binding Support Function=22.1.3
Oracle Communications Cloud Native Core Binding Support Function=22.2.0
Debian Debian Linux=10.0
Broadcom Brocade Fabric Operating System Firmware
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Information

The mitigation not known. However, for the default configuration of the Red Hat Enterprise Linux it is not possible to trigger this vulnerability: if control groups (cgroups) not being used or being used with the default configuration or being used some other configuration where for example similar privileges for all processes (both for parent and for child processes), then no way to trigger this vulnerability.

Event History

Sep 12, 2021
CVE Published
09:00 AM
Dec 26, 2021
Data Sourced
via Red Hat·01:49 PM
DescriptionSeverityAffected Software
Mar 23, 2022
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:01 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:34 AM
RemedyDescriptionSeverityAffected Software

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 severity of CVE-2021-4197?

CVE-2021-4197 has a high severity rating due to the potential for unprivileged users to write to file handlers controlled by cgroups.

2

What versions of the Linux kernel are affected by CVE-2021-4197?

CVE-2021-4197 affects Linux kernel versions up to 4.18.0-372.9.1 and various versions within the 4.x series up to 5.x.

3

How do I fix CVE-2021-4197?

To fix CVE-2021-4197, update your Linux kernel to the specified remedied versions for your distribution as indicated in the security advisories.

4

Can CVE-2021-4197 be exploited remotely?

CVE-2021-4197 requires local access to exploit, which means it cannot be directly exploited remotely.

5

What are the potential impacts of CVE-2021-4197?

The potential impacts of CVE-2021-4197 include unauthorized access to file handlers and potential privilege escalation for unprivileged processes.

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