{"id":"CVE-2022-50205","summary":"ext2: Add more validity checks for inode counts","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next2: Add more validity checks for inode counts\n\nAdd checks verifying number of inodes stored in the superblock matches\nthe number computed from number of inodes per group. Also verify we have\nat least one block worth of inodes per group. This prevents crashes on\ncorrupted filesystems.","modified":"2026-04-02T08:28:19.089936Z","published":"2025-06-18T11:03:45.889Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50205.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/07303a9abe3a997d9864fb4315e34b5acfe8fc25"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0bcdc31094a12b4baf59e241feabc9787cf635fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e63c5fe9123fa76ffaeff26c211308736ec3a07"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a48fdc88a3c35e046a6a0a38eba00f21c65b16e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96b18d3a1be0354ccce43f0ef61b5a3d7e432552"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3f423683818cfe15de14d5d9dff44148ff16bbf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d08bb199a406424a8ed0009efdf41710e6d849ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa78f336937240d1bc598db817d638086060e7e9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50205.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50205"},{"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":"0bcdc31094a12b4baf59e241feabc9787cf635fa"},{"fixed":"07303a9abe3a997d9864fb4315e34b5acfe8fc25"},{"fixed":"b3f423683818cfe15de14d5d9dff44148ff16bbf"},{"fixed":"d08bb199a406424a8ed0009efdf41710e6d849ee"},{"fixed":"96b18d3a1be0354ccce43f0ef61b5a3d7e432552"},{"fixed":"7a48fdc88a3c35e046a6a0a38eba00f21c65b16e"},{"fixed":"5e63c5fe9123fa76ffaeff26c211308736ec3a07"},{"fixed":"fa78f336937240d1bc598db817d638086060e7e9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50205.json"}}],"schema_version":"1.7.5"}