Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryendpoint-software-vulnerabilityprivilege-escalation-method

Red Hat Fixes XFS ioctl Raw Block-Device Data Leak in Enterprise Linux

Patch & Detection Intelligence · 15 sources · Updated 3mo ago · First seen Apr 19, 2022

Red Hat Fixes XFS ioctl Raw Block-Device Data Leak in Enterprise Linux

Red Hat released kernel and live-patch updates to remediate CVE-2021-4155, a local information-disclosure flaw in the XFS filesystem. A local user could use the XFS_IOC_ALLOCSP ioctl to extend a file to an unaligned size and expose raw block-device data that should not be accessible. The issue was rated Important and was also bundled with other kernel flaws that could enable local privilege escalation or use-after-free conditions.

Affected offerings included RHEL 6 Extended Lifecycle Support, RHEL 7 Server and SAP update streams, RHEL 8.1 SAP Solutions, and RHEL 8.2 real-time telecommunications and NFV deployments, across x86_64, ppc64le, i386, and s390x where applicable. Red Hat supplied conventional kernel updates requiring a reboot, including RHEL 7 kernel 3.10.0-1062.63.1.el7, RHEL 6 ELS kernel 2.6.32-754.47.1.el6, and RHEL 8.2 real-time kernel 4.18.0-193.75.1.rt13.125.el8_2; selected RHEL 7 and RHEL 8 systems could instead apply updated kpatch modules to patch the running kernel without a conventional reboot.

Why it matters

Impact assessment

CVE-2021-4155 affects unpatched RHEL 6 ELS, RHEL 7, and RHEL 8 systems that use XFS, including SAP, AUS/TUS/EUS, telecommunications, NFV, real-time, and Red Hat Virtualization deployments. A local authenticated user can disclose residual raw block-device data, creating a confidentiality risk to application data, credentials, keys, and data from previously allocated storage; bundled kernel fixes also address local privilege-escalation flaws on several affected streams.

Scope and severity

  • Red Hat rated the listed advisories Important.
  • Exploitation requires local code execution and an affected XFS filesystem; the story does not report remote exploitation or confirmed exploitation in the wild.
  • Highest-priority environments are shared multi-user hosts, virtualized workloads, container hosts, SAP systems, and systems handling regulated or sensitive data.
  • Operational impact includes required reboots for conventional kernel packages. Supported kpatch-patch modules reduce downtime on specific RHEL 7 and RHEL 8 kernel streams, but do not replace a planned full reboot into a current kernel.

Affected product scope

  • RHEL 6 ELS: x86_64, i386, s390x.
  • RHEL 7: x86_64 and ppc64le across supported AUS, TUS, SAP Solutions, and ELS streams.
  • RHEL 8: x86_64, s390x, ppc64le, and aarch64 across standard, EUS, AUS, TUS, SAP, and lifecycle channels.
  • RHEL 8 Real Time, Real Time for NFV, telecommunications update services, and Red Hat Virtualization Host 4 are included in relevant advisories.
Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

16 events · Dec 22, 2021 – Apr 19, 2022
  1. Apr 19, 20225y ago

    Red Hat releases RHEL 6 ELS kernel update for CVE-2021-4155

    Red Hat issued RHSA-2022:1417, an Important-rated kernel update for RHEL 6 Extended Lifecycle Support, including ELS Extension offerings. Kernel version 2.6.32-754.47.1.el6 fixed CVE-2021-4155 and three privilege-escalation flaws; systems required a reboot.

    RHSA-2022:1417 - Security Advisory - Red Hat Customer Portal
  2. Mar 17, 20225y ago

    Red Hat releases RHEL 8.1 SAP live patch for CVE-2021-4155

    RHSA-2022:0958 provided an Important-rated kpatch-patch-4_18_0-147_58_1 update for RHEL 8.1 Update Services for SAP Solutions on x86_64 and ppc64le. The live patch remediated CVE-2021-4155 and six additional kernel vulnerabilities.

    RHSA-2022:0958 - Security Advisory - Red Hat Customer Portal
  3. Mar 1, 20225y ago

    Red Hat issues RHEL 7.7 live patch for CVE-2021-4155

    Red Hat issued RHSA-2022:0718, a kpatch-patch live-update module for RHEL 7.7 Update Services for SAP Solutions and related AUS and TUS offerings. The live patch fixed CVE-2021-4155 together with CVE-2020-0466 and CVE-2022-0330.

    RHSA-2022:0718 - Security Advisory - Red Hat Customer Portal
  4. Mar 1, 20225y ago

    Red Hat issues RHEL 7.7 kernel update for CVE-2021-4155

    RHSA-2022:0712 delivered kernel version 3.10.0-1062.63.1.el7 for supported RHEL 7.7 AUS, TUS, and SAP Solutions channels. The Important-rated update addressed CVE-2021-4155, CVE-2020-0466, and CVE-2022-0330 and required a reboot.

    RHSA-2022:0712 - Security Advisory - Red Hat Customer Portal
  5. Feb 22, 20225y ago

    Red Hat releases RHEL 8.2 live patch for CVE-2021-4155

    Red Hat issued RHSA-2022:0590, an Important kpatch-patch live-kernel update for supported RHEL 8.2 EUS, AUS, TUS, and SAP Solutions channels on x86_64 and ppc64le. The update remediated CVE-2021-4155 along with CVE-2021-0920 and CVE-2021-4028 without requiring a reboot.

    RHSA-2022:0590 - Security Advisory - Red Hat Customer Portal
  6. Feb 22, 20225y ago

    Red Hat releases RHEL 8.2 EUS real-time kernel update

    Red Hat issued RHSA-2022:0629 for RHEL 8.2 Extended Update Support real-time telecommunications deployments. The kernel-rt update fixed CVE-2021-4155 and two use-after-free vulnerabilities; affected systems required a reboot.

    RHSA-2022:0629 - Security Advisory - Red Hat Customer Portal
  7. Feb 22, 20225y ago

    Red Hat releases RHEL 7 kpatch update for CVE-2021-4155

    Red Hat issued RHSA-2022:0592, an Important kpatch-patch live-kernel update for RHEL 7 and RHEL 7 Extended Life Cycle Support. The update remediated CVE-2021-4155 alongside four other kernel vulnerabilities.

    RHSA-2022:0592 - Security Advisory - Red Hat Customer Portal
  8. Feb 15, 20225y ago

    Red Hat releases RHEL 7.6 live patch for CVE-2021-4155

    Red Hat issued RHSA-2022:0533, an Important kpatch-patch live update for supported RHEL 7.6 AUS and Update Services for SAP Solutions deployments on x86_64 and ppc64le. The update remediated CVE-2021-4155 and CVE-2020-0466 by modifying the running kernel without a conventional reboot.

    RHSA-2022:0533 - Security Advisory - Red Hat Customer Portal
  9. Feb 15, 20225y ago

    Red Hat releases RHEL 7.6 kernel update for CVE-2021-4155

    Red Hat issued RHSA-2022:0531, an Important kernel security update for supported RHEL 7.6 AUS, TUS, and SAP Solutions channels. Kernel version 3.10.0-957.88.1.el7 remediated CVE-2021-4155 and CVE-2020-0466; affected systems required a reboot.

    RHSA-2022:0531 - Security Advisory - Red Hat Customer Portal
  10. Feb 15, 20225y ago

    Red Hat releases RHEL 7.3 AUS kernel update for CVE-2021-4155

    Red Hat issued RHSA-2022:0529, an Important kernel security update for RHEL Server AUS 7.3 on x86_64. Kernel version 3.10.0-514.97.1.el7 remediated CVE-2021-4155 and CVE-2020-0466; affected systems required a reboot.

    RHSA-2022:0529 - Security Advisory - Red Hat Customer Portal
  11. Reported Jan 24, 20225y ago

    Red Hat closes the CVE-2021-4155 bug record

    Red Hat Product Security DevOps closed Bugzilla record 2034813 for CVE-2021-4155, directing further product-update information to the CVE page.

    2034813 - (CVE-2021-4155) CVE-2021-4155 kernel: xfs: raw block device data leak in XFS_IOC_ALLOCSP IOCTL
  12. Jan 24, 20225y ago

    Red Hat releases RHEL 8 live patch for CVE-2021-4155

    Red Hat issued Important-rated RHSA-2022:0232 for RHEL 8, providing updated kpatch-patch live-kernel modules for x86_64 and ppc64le deployments. The live patch remediated CVE-2021-4155 and CVE-2022-0185 across applicable EUS, ELL, SAP, AUS, and TUS offerings without a conventional reboot.

    RHSA-2022:0232 - Security Advisory - Red Hat Customer Portal
  13. Jan 19, 20225y ago

    Red Hat releases RHEL 8 real-time kernel update for CVE-2021-4155

    Red Hat issued Important-rated RHSA-2022:0176 for RHEL 8 kernel-rt deployments, providing build 4.18.0-348.12.2.rt7.143.el8_5. The update remediated CVE-2021-4155 and CVE-2022-0185 for applicable Real Time, NFV, telecommunications, and ELC offerings and required a reboot.

    RHSA-2022:0176 - Security Advisory - Red Hat Customer Portal
  14. Jan 19, 20225y ago

    Red Hat releases RHEL 8 kernel update for CVE-2021-4155

    Red Hat issued Important-rated RHSA-2022:0188 for RHEL 8, providing kernel version 4.18.0-348.12.2.el8_5 across supported architectures and channels. The update remediated CVE-2021-4155 and CVE-2022-0185 and required systems to be rebooted.

    RHSA-2022:0188 - Security Advisory - Red Hat Customer Portal
  15. Jan 19, 20225y ago

    Red Hat releases RHEL 8.4 EUS kernel update for CVE-2021-4155

    Red Hat issued Important-rated RHSA-2022:0186 for RHEL 8.4 Extended Update Support and related service channels. Kernel version 4.18.0-305.34.2.el8_4 remediated CVE-2021-4155 alongside CVE-2021-4154 and CVE-2022-0185; affected systems required a reboot.

    RHSA-2022:0186 - Security Advisory - Red Hat Customer Portal
  16. Dec 22, 20215y ago

    Red Hat publishes CVE-2021-4155 issue description

    Red Hat published an initial description of CVE-2021-4155, a local XFS information-disclosure flaw in the XFS_IOC_ALLOCSP ioctl. An unaligned file-size increase could expose filesystem data to a local user.

    2034813 - (CVE-2021-4155) CVE-2021-4155 kernel: xfs: raw block device data leak in XFS_IOC_ALLOCSP IOCTL
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Red Hat Enterprise Linux
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.