CVE-2021-4155 json
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.
published 4y ago modified 4mo ago also EUVD-2021-34023
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 5.16
- linux Debian 14, Debian 13, Debian 12 5.15.15-1
debian advisories DEBIAN-CVE-2021-4155
- linux Ubuntu 18.04 LTS 4.15.0-169.177
- linux Ubuntu 20.04 LTS 5.4.0-100.113
- linux-aws Ubuntu 18.04 LTS 4.15.0-1121.129
- linux-aws Ubuntu 20.04 LTS 5.4.0-1066.69
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1065.69
- linux-gke Ubuntu 20.04 LTS 5.4.0-1063.66
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1015.16
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1107.109
ubuntu advisories UBUNTU-CVE-2021-4155
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- redhat-virtualization-host RHEL 7 4.3.22-20220330.1.el7_9
- redhat-virtualization-host-image-update RHEL 7 4.3.22-20220330.1.el7_9
- kernel-rt RHEL 7 EXTRAS_RT 3.10.0-1160.59.1.rt56.1200.el7
- kernel-rt-kvm RHEL 7 EXTRAS_RT 3.10.0-1160.59.1.rt56.1200.el7
- kernel-rt-trace RHEL 7 EXTRAS_RT 3.10.0-1160.59.1.rt56.1200.el7
- kernel-rt-debug-kvm RHEL 7 EXTRAS_RT 3.10.0-1160.59.1.rt56.1200.el7
- kernel-rt-trace-kvm RHEL 7 EXTRAS_RT 3.10.0-1160.59.1.rt56.1200.el7
- kernel-rt-debuginfo-common-x86_64 RHEL 7 EXTRAS_RT 3.10.0-1160.59.1.rt56.1200.el7
red hat advisories RHSA-2022:1263RHSA-2022:0958RHSA-2022:0622RHSA-2022:0620RHSA-2022:0592RHSA-2022:0590
- kernel-rt SLE Micro 5.2, SLE Micro 5.1, Real Time Module 15 SP3 +1 more 5.3.18-150300.106.1
- kernel-syms-rt Real Time Module 15 SP3 5.3.18-150300.106.1
- kernel-rt_debug Real Time Module 15 SP3 5.3.18-150300.106.1
- kernel-source-rt Real Time Module 15 SP3 5.3.18-150300.106.1
- kernel-azure SLE Module for Public Cloud 15 SP3, openSUSE Leap 15.3 5.3.18-150300.38.80.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP3, openSUSE Leap 15.3 5.3.18-150300.38.80.1
- kernel-source-azure SLE Module for Public Cloud 15 SP3, openSUSE Leap 15.3 5.3.18-150300.38.80.1
- kernel-syms SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.129.1
suse advisories SUSE-SU-2022:3809-1SUSE-SU-2022:3609-1SUSE-SU-2022:3450-1SUSE-SU-2022:3264-1SUSE-SU-2022:14905-1SUSE-SU-2022:0477-1
- kernel Rocky Linux 8 4.18.0-348.12.2.el8_5
- kernel-rt Rocky Linux 8 4.18.0-348.12.2.rt7.143.el8_5
rocky linux advisories RLSA-2022:0188RLSA-2022:0176
Is CVE-2021-4155 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-4155 updated cvss 5.5
kernel: xfs: raw block device data leak in XFS_IOC_ALLOCSP IOCTL
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-348.12.2.el8_5, kernel-debuginfo-common-aarch64 4.18.0-348.12.2.el8_5, kernel-debuginfo-common-ppc64le 4.18.0-348.12.2.el8_5fixed: vendor fix RHSA-2022:0188
-
Red Hat CodeReady Linux Builder EUS (v. 8.2) kernel-debuginfo-common-x86_64 4.18.0-193.75.1.el8_2, kernel-debuginfo-common-aarch64 4.18.0-193.75.1.el8_2, kernel-debuginfo-common-ppc64le 4.18.0-193.75.1.el8_2fixed: vendor fix RHSA-2022:0636
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-348.12.2.el8_5, kernel 4.18.0-348.12.2.el8_5, bpftool 4.18.0-348.12.2.el8_5, kpatch-patch-4_18_0-348 1-2.el8, kernel-core 4.18.0-348.12.2.el8_5, kernel-tools 4.18.0-348.12.2.el8_5, +18 morefixed: vendor fix RHSA-2022:0188
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.1) perf 4.18.0-147.59.1.el8_1, kernel 4.18.0-147.59.1.el8_1, bpftool 4.18.0-147.59.1.el8_1, kernel-core 4.18.0-147.59.1.el8_1, kernel-tools 4.18.0-147.59.1.el8_1, python3-perf 4.18.0-147.59.1.el8_1, +19 morefixed: vendor fix RHSA-2022:0344
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) perf 4.18.0-193.75.1.el8_2, kernel 4.18.0-193.75.1.el8_2, bpftool 4.18.0-193.75.1.el8_2, kernel-core 4.18.0-193.75.1.el8_2, kernel-tools 4.18.0-193.75.1.el8_2, python3-perf 4.18.0-193.75.1.el8_2, +25 morefixed: vendor fix RHSA-2022:0636
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) perf 4.18.0-305.34.2.el8_4, kernel 4.18.0-305.34.2.el8_4, bpftool 4.18.0-305.34.2.el8_4, kpatch-patch-4_18_0-305 1-10.el8, kernel-core 4.18.0-305.34.2.el8_4, kernel-tools 4.18.0-305.34.2.el8_4, +25 morefixed: vendor fix RHSA-2022:0186
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-1160.59.1.el7, kernel 3.10.0-1160.59.1.el7, bpftool 3.10.0-1160.59.1.el7, python-perf 3.10.0-1160.59.1.el7, kernel-tools 3.10.0-1160.59.1.el7, kernel-tools-libs 3.10.0-1160.59.1.el7, +2 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.59.1.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.59.1.el7fixed: vendor fix RHSA-2022:0620
-
Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-debuginfo-common-x86_64 4.18.0-305.34.2.el8_4, kernel-debuginfo-common-aarch64 4.18.0-305.34.2.el8_4, kernel-debuginfo-common-ppc64le 4.18.0-305.34.2.el8_4fixed: vendor fix RHSA-2022:0186
show 29 moreshow fewer
-
Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-1160.59.1.rt56.1200.el7, kernel-rt-trace 3.10.0-1160.59.1.rt56.1200.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.59.1.rt56.1200.el7fixed: vendor fix RHSA-2022:0622
-
Red Hat Enterprise Linux for Real Time (v. 8) kernel-rt 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-core 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-modules 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-core 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-modules 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-modules-extra 4.18.0-348.12.2.rt7.143.el8_5, +2 morefixed: vendor fix RHSA-2022:0176
-
Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-1160.59.1.rt56.1200.el7, kernel-rt-kvm 3.10.0-1160.59.1.rt56.1200.el7, kernel-rt-trace 3.10.0-1160.59.1.rt56.1200.el7, kernel-rt-debug-kvm 3.10.0-1160.59.1.rt56.1200.el7, kernel-rt-trace-kvm 3.10.0-1160.59.1.rt56.1200.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.59.1.rt56.1200.el7fixed: vendor fix RHSA-2022:0622
-
Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-kvm 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-modules 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-kvm 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-core 4.18.0-305.34.2.rt7.107.el8_4, +4 morefixed: vendor fix RHSA-2022:0187
-
Red Hat Enterprise Linux Real Time EUS (v. 8.2) kernel-rt 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-core 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-modules 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-debug-core 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-debug-modules 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-modules-extra 4.18.0-193.75.1.rt13.125.el8_2, +2 morefixed: vendor fix RHSA-2022:0629
-
Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-kvm 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-core 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-modules 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-kvm 4.18.0-348.12.2.rt7.143.el8_5, kernel-rt-debug-core 4.18.0-348.12.2.rt7.143.el8_5, +4 morefixed: vendor fix RHSA-2022:0176
-
Red Hat Enterprise Linux Real Time for NFV EUS (v. 8.2) kernel-rt 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-kvm 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-core 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-modules 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-debug-kvm 4.18.0-193.75.1.rt13.125.el8_2, kernel-rt-debug-core 4.18.0-193.75.1.rt13.125.el8_2, +4 morefixed: vendor fix RHSA-2022:0629
-
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-modules 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-core 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-debug-modules 4.18.0-305.34.2.rt7.107.el8_4, kernel-rt-modules-extra 4.18.0-305.34.2.rt7.107.el8_4, +2 morefixed: vendor fix RHSA-2022:0187
-
Red Hat Enterprise Linux Server (v. 6 ELS) perf 2.6.32-754.47.1.el6, kernel 2.6.32-754.47.1.el6, kernel-kdump 2.6.32-754.47.1.el6, kernel-firmware 2.6.32-754.47.1.el6, kernel-abi-whitelists 2.6.32-754.47.1.el6, kernel-debuginfo-common-i686 2.6.32-754.47.1.el6, +2 morefixed: vendor fix RHSA-2022:1417
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-1160.59.1.el7, kernel 3.10.0-1160.59.1.el7, bpftool 3.10.0-1160.59.1.el7, python-perf 3.10.0-1160.59.1.el7, kernel-kdump 3.10.0-1160.59.1.el7, kernel-tools 3.10.0-1160.59.1.el7, +17 morefixed: vendor fix RHSA-2022:0620
-
Red Hat Enterprise Linux Server AUS (v. 7.3) perf 3.10.0-514.97.1.el7, kernel 3.10.0-514.97.1.el7, python-perf 3.10.0-514.97.1.el7, kernel-tools 3.10.0-514.97.1.el7, kernel-tools-libs 3.10.0-514.97.1.el7, kernel-abi-whitelists 3.10.0-514.97.1.el7, +1 morefixed: vendor fix RHSA-2022:0529
-
Red Hat Enterprise Linux Server AUS (v. 7.4) perf 3.10.0-693.96.1.el7, kernel 3.10.0-693.96.1.el7, python-perf 3.10.0-693.96.1.el7, kernel-tools 3.10.0-693.96.1.el7, kernel-tools-libs 3.10.0-693.96.1.el7, kernel-abi-whitelists 3.10.0-693.96.1.el7, +1 morefixed: vendor fix RHSA-2022:0530
-
Red Hat Enterprise Linux Server AUS (v. 7.6) perf 3.10.0-957.88.1.el7, kernel 3.10.0-957.88.1.el7, bpftool 3.10.0-957.88.1.el7, python-perf 3.10.0-957.88.1.el7, kernel-tools 3.10.0-957.88.1.el7, kernel-tools-libs 3.10.0-957.88.1.el7, +2 morefixed: vendor fix RHSA-2022:0531
-
Red Hat Enterprise Linux Server AUS (v. 7.7) perf 3.10.0-1062.63.1.el7, kernel 3.10.0-1062.63.1.el7, bpftool 3.10.0-1062.63.1.el7, python-perf 3.10.0-1062.63.1.el7, kernel-tools 3.10.0-1062.63.1.el7, kernel-tools-libs 3.10.0-1062.63.1.el7, +2 morefixed: vendor fix RHSA-2022:0712
-
Red Hat Enterprise Linux Server E4S (v. 7.6) perf 3.10.0-957.88.1.el7, kernel 3.10.0-957.88.1.el7, python-perf 3.10.0-957.88.1.el7, kernel-tools 3.10.0-957.88.1.el7, kpatch-patch-3_10_0-957_70_1 1-7.el7, kpatch-patch-3_10_0-957_72_1 1-5.el7, +10 morefixed: vendor fix RHSA-2022:0531
-
Red Hat Enterprise Linux Server E4S (v. 7.7) perf 3.10.0-1062.63.1.el7, kernel 3.10.0-1062.63.1.el7, bpftool 3.10.0-1062.63.1.el7, python-perf 3.10.0-1062.63.1.el7, kernel-tools 3.10.0-1062.63.1.el7, kpatch-patch-3_10_0-1062_46_1 1-7.el7, +12 morefixed: vendor fix RHSA-2022:0712
-
Red Hat Enterprise Linux Server Optional (v. 6 ELS) python-perf 2.6.32-754.47.1.el6, kernel-debuginfo-common-i686 2.6.32-754.47.1.el6, kernel-debuginfo-common-s390x 2.6.32-754.47.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.47.1.el6fixed: vendor fix RHSA-2022:1417
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-1160.59.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.59.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.59.1.el7fixed: vendor fix RHSA-2022:0620
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.3) kernel-debuginfo-common-x86_64 3.10.0-514.97.1.el7fixed: vendor fix RHSA-2022:0529
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.4) kernel-debuginfo-common-x86_64 3.10.0-693.96.1.el7fixed: vendor fix RHSA-2022:0530
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.88.1.el7fixed: vendor fix RHSA-2022:0531
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.7) kernel-debuginfo-common-x86_64 3.10.0-1062.63.1.el7fixed: vendor fix RHSA-2022:0712
-
Red Hat Enterprise Linux Server Optional E4S (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.88.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-957.88.1.el7fixed: vendor fix RHSA-2022:0531
-
Red Hat Enterprise Linux Server Optional E4S (v. 7.7) kernel-debuginfo-common-x86_64 3.10.0-1062.63.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1062.63.1.el7fixed: vendor fix RHSA-2022:0712
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.88.1.el7fixed: vendor fix RHSA-2022:0531
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.7) kernel-debuginfo-common-x86_64 3.10.0-1062.63.1.el7fixed: vendor fix RHSA-2022:0712
-
Red Hat Enterprise Linux Server TUS (v. 7.6) perf 3.10.0-957.88.1.el7, kernel 3.10.0-957.88.1.el7, bpftool 3.10.0-957.88.1.el7, python-perf 3.10.0-957.88.1.el7, kernel-tools 3.10.0-957.88.1.el7, kernel-tools-libs 3.10.0-957.88.1.el7, +2 morefixed: vendor fix RHSA-2022:0531
-
Red Hat Enterprise Linux Server TUS (v. 7.7) perf 3.10.0-1062.63.1.el7, kernel 3.10.0-1062.63.1.el7, bpftool 3.10.0-1062.63.1.el7, python-perf 3.10.0-1062.63.1.el7, kernel-tools 3.10.0-1062.63.1.el7, kernel-tools-libs 3.10.0-1062.63.1.el7, +2 morefixed: vendor fix RHSA-2022:0712
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-1160.59.1.el7, kernel 3.10.0-1160.59.1.el7, bpftool 3.10.0-1160.59.1.el7, python-perf 3.10.0-1160.59.1.el7, kernel-tools 3.10.0-1160.59.1.el7, kernel-tools-libs 3.10.0-1160.59.1.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.59.1.el7fixed: vendor fix RHSA-2022:0620
3 more fixed, 6 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- n/a kernel
Classification
- Weakness
-
- CWE-131 Incorrect Calculation of Buffer Size
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=983d8e60f50806f90534cc5373d0ce867e5aaf79
mailing-list, patch, vendor-advisory
-
openwall.com
/lists/oss-security/2022/01/10/1
mailing-list, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2034813
issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2021-4155
mitigation, third-party-advisory
-
security-tracker.debian.org
/tracker/CVE-2021-4155
third-party-advisory
Sources
- CVE List CVE-2021-4155
- NVD CVE-2021-4155
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.