CVE-2022-50815
ext2: Add sanity checks for group and filesystem size
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 40ff52527daec00cf1530c17a95636916ddd3b38; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 321440079763998076b75e0c802524e2218a7d97; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 40ff52527daec00cf1530c17a95636916ddd3b38; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 321440079763998076b75e0c802524e2218a7d97; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2; Linux 2.6.12
- Fixed in
- Linux 40ff52527daec00cf1530c17a95636916ddd3b38, Linux 321440079763998076b75e0c802524e2218a7d97
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 40ff52527daec00cf1530c17a95636916ddd3b38; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 321440079763998076b75e0c802524e2218a7d97; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50815. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50815.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 40ff52527daec00cf1530c17a95636916ddd3b38; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 321440079763998076b75e0c802524e2218a7d97; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2; Linux 2.6.12 Fixed in: Linux 40ff52527daec00cf1530c17a95636916ddd3b38, Linux 321440079763998076b75e0c802524e2218a7d97 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-50815 being exploited?
There is no confirmed exploitation: CVE-2022-50815 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50815?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50815?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 40ff52527daec00cf1530c17a95636916ddd3b38; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 321440079763998076b75e0c802524e2218a7d97; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2; Linux 2.6.12.
Is there a fix for CVE-2022-50815?
Yes. Fixed in Linux 40ff52527daec00cf1530c17a95636916ddd3b38, Linux 321440079763998076b75e0c802524e2218a7d97. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50815?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.