CVE-2021-4154
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v4.0•HIGH•Score: 7.3CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.2AV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 1.21%• Percentile: 67%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•linux
< 5.10.70-1 | < 5.14.6-1 | < 5.14.6-1 | < 5.14.6-1
- ubuntu•linux
< 5.4.0-88.99
- ubuntu•linux-aws
< 5.4.0-1057.60
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
< 5.11.0-1019.20~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1057.60~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 5.4.0-1069.73+fips2 | all
- ubuntu•linux-azure
all | < 5.4.0-1059.62
- ubuntu•linux-azure-5.11
< 5.11.0-1017.18~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1059.62~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 5.4.0-1073.76+fips1 | all
- ubuntu•linux-bluefield
all | < 5.4.0-1019.22
- ubuntu•linux-fips
< 5.4.0-1034.40 | all
- ubuntu•linux-gcp
all | < 5.4.0-1053.57
- ubuntu•linux-gcp-5.11
< 5.11.0-1020.22~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1053.57~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 5.4.0-1067.71~20.04.1 | all
- ubuntu•linux-gke
< 5.4.0-1053.56
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1053.56~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1024.25
- ubuntu•linux-gkeop-5.4
< 5.4.0-1024.25~18.04.1
- ubuntu•linux-hwe
all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.4
< 5.4.0-87.98~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1005.6
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 5.4.0-1047.49
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1049.51
- ubuntu•linux-oem-5.13
< 5.13.0-1014.18
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 5.4.0-1055.59
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.11
< 5.11.0-1019.20~20.04.1
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1055.59~18.04.1
- ubuntu•linux-oracle-5.8
all
- ubuntu•linux-raspi
< 5.4.0-1044.48
- ubuntu•linux-raspi-5.4
< 5.4.0-1044.48~18.04.1
Showing first 50 affected entries in server-rendered view.
References (8)
- https://bugzilla.redhat.com/show_bug.cgi?id=2034514
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3b0462726e7ef281c35a7a4ae33e93ee2bc9975b
- https://cloud.google.com/anthos/clusters/docs/security-bulletins#gcp-2022-002
- https://security.netapp.com/advisory/ntap-20220225-0004/
- https://ubuntu.com/security/CVE-2021-4154
- https://git.kernel.org/linus/3b0462726e7ef281c35a7a4ae33e93ee2bc9975b
- https://www.cve.org/CVERecord?id=CVE-2021-4154
- https://security-tracker.debian.org/tracker/CVE-2021-4154