CVE-2021-4155Incorrect Calculation of Buffer Size in Kernel

Severity
5.5MEDIUMNVD
OSV7.8OSV7.0OSV6.5OSV4.7
EPSS
0.0%
top 94.66%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 24
Latest updateFeb 14

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitability: 1.8 | Impact: 3.6

Affected Packages8 packages

debiandebian/linux< linux 5.15.15-1 (bookworm)
NVDlinux/linux_kernel< 5.16
Debianlinux/linux_kernel< 5.10.92-1+3
Ubuntulinux/linux_kernel< 4.15.0-169.177+2
Palo Altopaloalto/pan-os

Patches

🔴Vulnerability Details

13
OSV
linux, linux-aws, linux-kvm, linux-lts-xenial vulnerabilities2023-03-06
OSV
linux-aws vulnerabilities2023-02-23
OSV
CVE-2021-4155: 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 size2022-08-24
OSV
linux-intel-5.13 vulnerabilities2022-04-01
OSV
linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-dell300x, linux-gcp, linux-gcp-4.15, linux-hwe, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities2022-02-22

📋Vendor Advisories

14
Palo Alto
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS2024-02-14
Ubuntu
Linux kernel vulnerabilities2023-03-06
Ubuntu
Linux kernel (AWS) vulnerabilities2023-02-23
Microsoft
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 f2022-08-09
Ubuntu
Linux kernel (Intel IOTG) vulnerabilities2022-04-01
CVE-2021-4155 — Incorrect Calculation of Buffer Size | cvebase