{"id":"CVE-2022-50815","summary":"ext2: Add sanity checks for group and filesystem size","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next2: Add sanity checks for group and filesystem size\n\nAdd sanity check that filesystem size does not exceed the underlying\ndevice size and that group size is big enough so that metadata can fit\ninto it. This avoid trying to mount some crafted filesystems with\nextremely large group counts.","modified":"2026-04-02T08:28:46.619147Z","published":"2025-12-30T12:08:31.554Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50815.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/321440079763998076b75e0c802524e2218a7d97"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40ff52527daec00cf1530c17a95636916ddd3b38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50815.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50815"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"40ff52527daec00cf1530c17a95636916ddd3b38"},{"fixed":"321440079763998076b75e0c802524e2218a7d97"},{"fixed":"d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50815.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.12"},{"fixed":"5.19.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.20.0"},{"fixed":"6.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50815.json"}}],"schema_version":"1.7.5"}