# CVE-2021-4155: A data leak flaw was found in the way XFSIOCALLOCSP IOCTL in the XFS filesystem allowed for size increase of files with unaligned size.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2022-08-24T15:10:19.000Z
- Modified: 2026-06-17T04:19:07.653Z
- Weaknesses: CWE-131
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- kernel: Fixed in Kernel v5.16
- linux linux_kernel: before 5.16

## References

- <https://www.openwall.com/lists/oss-security/2022/01/10/1> (mailing-list, patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2034813> (issue-tracking, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2021-4155> (mitigation, third-party-advisory)
- <https://security-tracker.debian.org/tracker/CVE-2021-4155> (third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=983d8e60f50806f90534cc5373d0ce867e5aaf79> (mailing-list, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-4155](https://www.cve.org/CVERecord?id=CVE-2021-4155), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4155](https://nvd.nist.gov/vuln/detail/CVE-2021-4155), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4155 · Whole record: https://cve.day/CVE-2021-4155.json · Rebuilt by cve.day 2026-11-25T22:58:07.782Z
