Use after free in kernel
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | kernel | Fixed in kernel 5.14 rc2 | — | No fix listed | CNA |
- kernel Vendor— Affected Fixed in kernel 5.14 rc2 Fixed in — No fix listed CNA
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.1 to before 5.4.134; 5.5 to before 5.10.52; 5.11 to before 5.12.19; 5.13 to before 5.13.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:* | 5.14 rc1 | Vulnerable | Linux |
| cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:a:netapp:hci_baseboard_management_controller:h300e:*:*:*:*:*:*:* | h300e | Vulnerable | NetApp |
| cpe:2.3:a:netapp:hci_baseboard_management_controller:h300s:*:*:*:*:*:*:* | h300s | Vulnerable | NetApp |
| cpe:2.3:a:netapp:hci_baseboard_management_controller:h410s:*:*:*:*:*:*:* | h410s | Vulnerable | NetApp |
| cpe:2.3:a:netapp:hci_baseboard_management_controller:h500e:*:*:*:*:*:*:* | h500e | Vulnerable | NetApp |
| cpe:2.3:a:netapp:hci_baseboard_management_controller:h500s:*:*:*:*:*:*:* | h500s | Vulnerable | NetApp |
| cpe:2.3:a:netapp:hci_baseboard_management_controller:h700e:*:*:*:*:*:*:* | h700e | Vulnerable | NetApp |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.1 to before 5.4.134; 5.5 to before 5.10.52; 5.11 to before 5.12.19; 5.13 to before 5.13.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:* Versions 5.14 rc1 Vulnerable ·Linux
- cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:a:netapp:hci_baseboard_management_controller:h300e:*:*:*:*:*:*:* Versions h300e Vulnerable ·NetApp
- cpe:2.3:a:netapp:hci_baseboard_management_controller:h300s:*:*:*:*:*:*:* Versions h300s Vulnerable ·NetApp
- cpe:2.3:a:netapp:hci_baseboard_management_controller:h410s:*:*:*:*:*:*:* Versions h410s Vulnerable ·NetApp
- cpe:2.3:a:netapp:hci_baseboard_management_controller:h500e:*:*:*:*:*:*:* Versions h500e Vulnerable ·NetApp
- cpe:2.3:a:netapp:hci_baseboard_management_controller:h500s:*:*:*:*:*:*:* Versions h500s Vulnerable ·NetApp
- cpe:2.3:a:netapp:hci_baseboard_management_controller:h700e:*:*:*:*:*:*:* Versions h700e Vulnerable ·NetApp
Remediation
Red Hat 7 advisories
- RHSA-2022:0849 Released 2022-03-14 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-348-1-3.el8, kpatch-patch-4_18_0-348_12_2-1-1.el8_5, kpatch-patch-4_18_0-348_2_1-1-2.el8_5 +1
- RHSA-2022:0841 Released 2022-03-14 · Red Hat rating ImportantRed Hat Virtualization Host security and bug fix update [ovirt-4.4.10] Async #1
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.4.10-202203101736_8.5, redhat-virtualization-host-image-update-4.4.10-202203101736_8.5
- RHSA-2022:0825 Released 2022-03-10 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-348.20.1.el8_5
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-348.20.1.el8_5, kernel-4.18.0-348.20.1.el8_5, kernel-abi-stablelists-4.18.0-348.20.1.el8_5 +19
Show 4 more Red Hat advisories
- RHSA-2022:0819 Released 2022-03-10 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt-4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-core-4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-debug-4.18.0-348.20.1.rt7.150.el8_5 +9
- Red Hat Enterprise Linux for Real Time (v. 8) kernel-rt-4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-core-4.18.0-348.20.1.rt7.150.el8_5, kernel-rt-debug-4.18.0-348.20.1.rt7.150.el8_5 +7
- RHSA-2022:0231 Released 2022-01-24 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) kpatch-patch-4_18_0-305-1-10.el8, kpatch-patch-4_18_0-305_10_2-1-7.el8_4, kpatch-patch-4_18_0-305_12_1-1-6.el8_4 +7
- RHSA-2022:0186 Released 2022-01-19 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) bpftool-4.18.0-305.34.2.el8_4, kernel-4.18.0-305.34.2.el8_4, kernel-abi-stablelists-4.18.0-305.34.2.el8_4 +19
- Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-tools-libs-devel-4.18.0-305.34.2.el8_4
- RHSA-2022:0187 Released 2022-01-19 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt-4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-core-4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-4.18.0-305.34.2.rt7.107.el8_4 +9
- Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt-4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-core-4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-4.18.0-305.34.2.rt7.107.el8_4 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2022:0825 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:0825, RHSA-2022:0849 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2022:0186, RHSA-2022:0231 |
| Red Hat Enterprise Linux CRB EUS (v.8.4) | Fixed | RHSA-2022:0186 |
| Red Hat Enterprise Linux NFV EUS (v.8.4) | Fixed | RHSA-2022:0187 |
| Red Hat Enterprise Linux RT EUS (v.8.4) | Fixed | RHSA-2022:0187 |
| Red Hat Enterprise Linux Real Time for NFV (v. 8) | Fixed | RHSA-2022:0819 |
| Red Hat Enterprise Linux for Real Time (v. 8) | Fixed | RHSA-2022:0819 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2022:0841 |
Not affected: 4 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-4154
- 2026-10-03 Alias added: GHSA-qvm5-4fh7-hcfx
References
Patch 2
Sources
- CVE-2021-4154 · CVE Program
- CVE-2021-4154 · NVD
- FIRST EPSS
- GHSA-qvm5-4fh7-hcfx · GitHub Advisory Database · CC BY 4.0
- CVE-2021-4154 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences