First published: Wed Dec 22 2021(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <0:2.6.32-754.47.1.el6 | 0:2.6.32-754.47.1.el6 |
redhat/kernel-rt | <0:3.10.0-1160.59.1.rt56.1200.el7 | 0:3.10.0-1160.59.1.rt56.1200.el7 |
redhat/kernel | <0:3.10.0-1160.59.1.el7 | 0:3.10.0-1160.59.1.el7 |
redhat/kernel | <0:3.10.0-514.97.1.el7 | 0:3.10.0-514.97.1.el7 |
redhat/kernel | <0:3.10.0-693.96.1.el7 | 0:3.10.0-693.96.1.el7 |
redhat/kernel | <0:3.10.0-957.88.1.el7 | 0:3.10.0-957.88.1.el7 |
redhat/kernel | <0:3.10.0-1062.63.1.el7 | 0:3.10.0-1062.63.1.el7 |
redhat/kernel-rt | <0:4.18.0-348.12.2.rt7.143.el8_5 | 0:4.18.0-348.12.2.rt7.143.el8_5 |
redhat/kernel | <0:4.18.0-348.12.2.el8_5 | 0:4.18.0-348.12.2.el8_5 |
redhat/kernel | <0:4.18.0-147.59.1.el8_1 | 0:4.18.0-147.59.1.el8_1 |
redhat/kernel-rt | <0:4.18.0-193.75.1.rt13.125.el8_2 | 0:4.18.0-193.75.1.rt13.125.el8_2 |
redhat/kernel | <0:4.18.0-193.75.1.el8_2 | 0:4.18.0-193.75.1.el8_2 |
redhat/kernel-rt | <0:4.18.0-305.34.2.rt7.107.el8_4 | 0:4.18.0-305.34.2.rt7.107.el8_4 |
redhat/kernel | <0:4.18.0-305.34.2.el8_4 | 0:4.18.0-305.34.2.el8_4 |
redhat/redhat-virtualization-host | <0:4.3.22-20220330.1.el7_9 | 0:4.3.22-20220330.1.el7_9 |
Linux Linux kernel | <5.16 | |
redhat/Kernel | <5.16 | 5.16 |
ubuntu/linux | <4.15.0-169.177 | 4.15.0-169.177 |
ubuntu/linux | <5.4.0-100.113 | 5.4.0-100.113 |
ubuntu/linux | <5.13.0-30.33 | 5.13.0-30.33 |
ubuntu/linux | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux | <4.4.0-237.271 | 4.4.0-237.271 |
ubuntu/linux-aws | <4.15.0-1121.129 | 4.15.0-1121.129 |
ubuntu/linux-aws | <5.4.0-1066.69 | 5.4.0-1066.69 |
ubuntu/linux-aws | <5.13.0-1014.15 | 5.13.0-1014.15 |
ubuntu/linux-aws | <4.4.0-1116.122 | 4.4.0-1116.122 |
ubuntu/linux-aws | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws | <4.4.0-1154.169 | 4.4.0-1154.169 |
ubuntu/linux-aws-5.0 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-5.11 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-5.13 | <5.13.0-1014.15~20.04.1 | 5.13.0-1014.15~20.04.1 |
ubuntu/linux-aws-5.13 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-5.3 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-5.4 | <5.4.0-1066.69~18.04.1 | 5.4.0-1066.69~18.04.1 |
ubuntu/linux-aws-5.4 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-5.8 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-fips | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-hwe | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-aws-hwe | <4.15.0-1120.128~16.04.1 | 4.15.0-1120.128~16.04.1 |
ubuntu/linux-azure | <5.4.0-1070.73 | 5.4.0-1070.73 |
ubuntu/linux-azure | <5.13.0-1014.16 | 5.13.0-1014.16 |
ubuntu/linux-azure | <4.15.0-1131.144~14.04.1 | 4.15.0-1131.144~14.04.1 |
ubuntu/linux-azure | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure | <4.15.0-1131.144~16.04.1 | 4.15.0-1131.144~16.04.1 |
ubuntu/linux-azure-4.15 | <4.15.0-1131.144 | 4.15.0-1131.144 |
ubuntu/linux-azure-4.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-5.11 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-5.13 | <5.13.0-1014.16~20.04.1 | 5.13.0-1014.16~20.04.1 |
ubuntu/linux-azure-5.13 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-5.3 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-5.4 | <5.4.0-1070.73~18.04.1 | 5.4.0-1070.73~18.04.1 |
ubuntu/linux-azure-5.4 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-edge | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-fde | <5.4.0-1070.73 | 5.4.0-1070.73 |
ubuntu/linux-azure-fde | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-fde-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-azure-fips | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-bluefield | <5.4.0-1028.31 | 5.4.0-1028.31 |
ubuntu/linux-bluefield | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-dell300x | <4.15.0-1035.40 | 4.15.0-1035.40 |
ubuntu/linux-dell300x | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-fips | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp | <5.4.0-1065.69 | 5.4.0-1065.69 |
ubuntu/linux-gcp | <5.13.0-1015.18 | 5.13.0-1015.18 |
ubuntu/linux-gcp | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp | <4.15.0-1116.130~16.04.1 | 4.15.0-1116.130~16.04.1 |
ubuntu/linux-gcp-4.15 | <4.15.0-1116.130 | 4.15.0-1116.130 |
ubuntu/linux-gcp-4.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp-5.11 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp-5.13 | <5.13.0-1015.18~20.04.1 | 5.13.0-1015.18~20.04.1 |
ubuntu/linux-gcp-5.13 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp-5.3 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp-5.4 | <5.4.0-1065.69~18.04.1 | 5.4.0-1065.69~18.04.1 |
ubuntu/linux-gcp-5.8 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gcp-fips | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gke | <5.4.0-1063.66 | 5.4.0-1063.66 |
ubuntu/linux-gke | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gke-4.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gke-5.0 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gke-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gke-5.3 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gke-5.4 | <5.4.0-1063.66~18.04.1 | 5.4.0-1063.66~18.04.1 |
ubuntu/linux-gke-5.4 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gkeop | <5.4.0-1034.35 | 5.4.0-1034.35 |
ubuntu/linux-gkeop | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gkeop-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-gkeop-5.4 | <5.4.0-1034.35~18.04.1 | 5.4.0-1034.35~18.04.1 |
ubuntu/linux-gkeop-5.4 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe | <4.15.0-169.177~16.04.1 | 4.15.0-169.177~16.04.1 |
ubuntu/linux-hwe-5.11 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe-5.13 | <5.13.0-30.33~20.04.1 | 5.13.0-30.33~20.04.1 |
ubuntu/linux-hwe-5.13 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe-5.4 | <5.4.0-100.113~18.04.1 | 5.4.0-100.113~18.04.1 |
ubuntu/linux-hwe-5.4 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe-5.8 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-hwe-edge | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-ibm | <5.4.0-1015.16 | 5.4.0-1015.16 |
ubuntu/linux-ibm | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-ibm-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-ibm-5.4 | <5.4.0-1015.16~18.04.1 | 5.4.0-1015.16~18.04.1 |
ubuntu/linux-ibm-5.4 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-intel | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-intel-5.13 | <5.13.0-1010.10 | 5.13.0-1010.10 |
ubuntu/linux-intel-5.13 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-intel-iotg | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-intel-iotg-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-iot | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-kvm | <4.15.0-1107.109 | 4.15.0-1107.109 |
ubuntu/linux-kvm | <5.4.0-1056.58 | 5.4.0-1056.58 |
ubuntu/linux-kvm | <5.13.0-1013.14 | 5.13.0-1013.14 |
ubuntu/linux-kvm | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-kvm | <4.4.0-1117.127 | 4.4.0-1117.127 |
ubuntu/linux-laptop | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-lowlatency | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-lowlatency-hwe-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-lowlatency-hwe-5.19 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-lowlatency-hwe-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-lts-xenial | <4.4.0-237.271~14.04.1 | 4.4.0-237.271~14.04.1 |
ubuntu/linux-lts-xenial | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-nvidia | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-nvidia-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-nvidia-6.8 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-nvidia-lowlatency | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-5.10 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-5.13 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-5.14 | <5.14.0-1022.24 | 5.14.0-1022.24 |
ubuntu/linux-oem-5.17 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-5.6 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-6.0 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-6.1 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-6.8 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oem-osp1 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oracle | <4.15.0-1087.95 | 4.15.0-1087.95 |
ubuntu/linux-oracle | <5.4.0-1064.68 | 5.4.0-1064.68 |
ubuntu/linux-oracle | <5.13.0-1018.22 | 5.13.0-1018.22 |
ubuntu/linux-oracle | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oracle | <4.15.0-1087.95~16.04.1 | 4.15.0-1087.95~16.04.1 |
ubuntu/linux-oracle-5.0 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oracle-5.11 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oracle-5.13 | <5.13.0-1018.22~20.04.1 | 5.13.0-1018.22~20.04.1 |
ubuntu/linux-oracle-5.13 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oracle-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oracle-5.3 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-oracle-5.4 | <5.4.0-1064.68~18.04.1 | 5.4.0-1064.68~18.04.1 |
ubuntu/linux-oracle-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-raspi | <5.4.0-1053.60 | 5.4.0-1053.60 |
ubuntu/linux-raspi | <5.13.0-1017.19 | 5.13.0-1017.19 |
ubuntu/linux-raspi | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-raspi-5.4 | <5.4.0-1053.60~18.04.1 | 5.4.0-1053.60~18.04.1 |
ubuntu/linux-raspi-5.4 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-raspi2 | <4.15.0-1103.110 | 4.15.0-1103.110 |
ubuntu/linux-raspi2 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-raspi2-5.3 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-riscv | <5.13.0-1012.14 | 5.13.0-1012.14 |
ubuntu/linux-riscv | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-riscv-5.11 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-riscv-5.15 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-riscv-5.8 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-riscv-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-snapdragon | <4.15.0-1120.129 | 4.15.0-1120.129 |
ubuntu/linux-snapdragon | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-starfive | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-starfive-6.5 | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
ubuntu/linux-xilinx-zynqmp | <5.16<4.4.299<5.4.171<5.15.14 | 5.16 4.4.299 5.4.171 5.15.14 |
debian/linux | 5.10.218-1 5.10.221-1 6.1.94-1 6.1.99-1 6.9.12-1 6.10.3-1 |
This issue can be mitigated by ensuring xfs_alloc_file_space is not called with "0" as an argument. This can be done with a SystemTap script (which resets "0" with XFS_BMAPI_PREALLOC), below are the steps: 1) Save the following script in a 'CVE-2021-4155.stp' file --- On Red Hat Enterprise Linux 6 --- probe module("xfs").function("xfs_alloc_file_space") { if ($alloc_type == 0) $alloc_type = 0x40;# XFS_BMAPI_PREALLOC } --- On Red Hat Enterprise Linux 6 --- --- On Red Hat Enterprise Linux 7 onwards --- probe module("xfs").function("xfs_alloc_file_space") { if ($alloc_type == 0) $alloc_type = 0x8;# XFS_BMAPI_PREALLOC } --- On Red Hat Enterprise Linux 7 onwards --- 2) Install systemtap package and its dependencies # yum install -y systemtap systemtap-runtime # yum install -y kernel-devel kernel-debuginfo 3) Build the mitigation kernel module as root. # stap -r `uname -r` -m cve_2021_4155.ko -g CVE-2021-4155.stp -p4 4) Load the mitigation module as root # staprun -L cve_2021_4155.ko What is SystemTap and how to use it? https://access.redhat.com/solutions/5441
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)