CVE Database›Document archive›CVE-2022-50815

CVE-2022-50815

kernel: ext2: Add sanity checks for group and filesystem size

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · June 30, 2026

Description

A flaw was found in the Linux kernel's ext2 filesystem implementation. The filesystem mount code lacks proper validation of filesystem size against the underlying device size and group size against metadata requirements. This allows specially crafted ext2 filesystem images with extremely large group counts to be mounted, potentially causing resource exhaustion or kernel crashes.

Statement

Mounting untrusted filesystem images is an inherently risky operation. This flaw requires an attacker to have local access and the ability to provide a maliciously crafted ext2 filesystem image for mounting. In enterprise environments, filesystem mounting is typically restricted to privileged users, limiting the attack surface.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-1284 · Improper Validation of Specified Quantity in Input