CVE-2021-4155
Vulnerability Summary
Timeline
Description
A data leak flaw was found in the way XFS_IOC_ALLOCSP IOCTL in the XFS filesystem allowed for size increase of files with unaligned size. A local attacker could use this flaw to leak data on the XFS filesystem otherwise not accessible to them.
CVSS Metrics
- v4.0•MEDIUM•Score: 6.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 0.30%• Percentile: 23%
Techniques & Countermeasures
- CWE-131•Incorrect Calculation of Buffer Size
The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
Affected Systems
- debian•linux
< 5.10.92-1 | < 5.15.15-1 | < 5.15.15-1 | < 5.15.15-1
- ubuntu•linux
all | < 4.4.0-237.271 | < 4.15.0-169.177 | < 5.4.0-100.113
- ubuntu•linux-aws
< 4.4.0-1116.122 | < 4.4.0-1154.169 | < 4.15.0-1121.129 | < 5.4.0-1066.69
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
< 5.13.0-1014.15~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1066.69~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2061.63 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1120.128~16.04.1
- ubuntu•linux-azure
< 4.15.0-1131.144~14.04.1 | < 4.15.0-1131.144~16.04.1 | all | < 5.4.0-1070.73
- ubuntu•linux-azure-4.15
< 4.15.0-1131.144
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
< 5.13.0-1014.16~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1070.73~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde-5.15
< 5.15.0-1114.123~20.04.1
- ubuntu•linux-azure-fips
< 4.15.0-2043.47 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1028.31
- ubuntu•linux-dell300x
< 4.15.0-1035.40
- ubuntu•linux-fips
< 4.4.0-1086.93 | all | < 4.15.0-1078.87 | < 5.4.0-1043.49
- ubuntu•linux-gcp
< 4.15.0-1116.130~16.04.1 | all | < 5.4.0-1065.69
- ubuntu•linux-gcp-4.15
< 4.15.0-1116.130
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
< 5.13.0-1015.18~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1065.69~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2026.28 | all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1063.66
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1063.66~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1034.35
- ubuntu•linux-gkeop-5.4
< 5.4.0-1034.35~18.04.1
- ubuntu•linux-hwe
< 4.15.0-169.177~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
< 5.13.0-30.33~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-100.113~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1015.16
- ubuntu•linux-ibm-5.4
< 5.4.0-1015.16~18.04.1
- ubuntu•linux-intel-5.13
< 5.13.0-1010.10
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1117.127 | < 4.15.0-1107.109 | < 5.4.0-1056.58
- ubuntu•linux-lts-xenial
< 4.4.0-237.271~14.04.1
- ubuntu•linux-oem
all
Showing first 50 affected entries in server-rendered view.
References (26)
- https://www.openwall.com/lists/oss-security/2022/01/10/1
- https://bugzilla.redhat.com/show_bug.cgi?id=2034813
- https://access.redhat.com/security/cve/CVE-2021-4155
- https://security-tracker.debian.org/tracker/CVE-2021-4155
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=983d8e60f50806f90534cc5373d0ce867e5aaf79
- https://access.redhat.com/errata/RHSA-2022:0335
- https://access.redhat.com/security/updates/classification/#important
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0335.json
- https://www.cve.org/CVERecord?id=CVE-2021-4155
- https://nvd.nist.gov/vuln/detail/CVE-2021-4155
- https://access.redhat.com/errata/RHSA-2022:0344
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0344.json
- https://access.redhat.com/errata/RHSA-2022:0530
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0530.json
- https://ubuntu.com/security/CVE-2021-4155
- https://git.kernel.org/linus/983d8e60f50806f90534cc5373d0ce867e5aaf79
- https://ubuntu.com/security/notices/USN-5278-1
- https://ubuntu.com/security/notices/USN-5294-1
- https://ubuntu.com/security/notices/USN-5295-1
- https://ubuntu.com/security/notices/USN-5294-2
- https://ubuntu.com/security/notices/USN-5295-2
- https://ubuntu.com/security/notices/USN-5297-1
- https://ubuntu.com/security/notices/USN-5298-1
- https://ubuntu.com/security/notices/USN-5362-1
- https://ubuntu.com/security/notices/USN-5884-1
- https://ubuntu.com/security/notices/USN-5926-1