CVE-2022-50815

ext2: Add sanity checks for group and filesystem size

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ext2: Add sanity checks for group and filesystem size

Add sanity check that filesystem size does not exceed the underlying device size and that group size is big enough so that metadata can fit into it. This avoid trying to mount some crafted filesystems with extremely large group counts.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 40ff52527daec00cf1530c17a95636916ddd3b38Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 321440079763998076b75e0c802524e2218a7d97Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.