CVE-2021-4154
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2021-4154) was discovered in the Linux kernel's cgroup v1 parser, specifically in the cgroup1_parse_param function within kernel/cgroup/cgroup-v1.c. The vulnerability was discovered in December 2021 and fixed in Linux kernel version 5.14 rc2 (Kernel Commit).

Technical details

The vulnerability occurs when the cgroup v1 parser incorrectly assumes that the 'source' parameter is always of type fs_value_is_string when it can also be fs_value_is_file. This assumption leads to a use-after-free condition because struct fs_parameter uses a union for the actual value, and access to that union is guarded by the param->type member. The issue can be triggered through the fsconfig syscall parameter (Kernel Commit).

Impact

The vulnerability allows a local attacker with user privileges to cause privilege escalation, potentially leading to container breakout and denial of service on the system. The vulnerability has been assigned a CVSS score of 8.8 (HIGH) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (NetApp Advisory).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.14 rc2 by adding verification that the param->type is actually a string and reporting an error if not. Various vendors have released patches for their affected products. For example, Red Hat has addressed this in multiple security advisories including RHSA-2022:0186, RHSA-2022:0187, and RHSA-2022:0231 (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management