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 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-patchmodules 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.


