{"id":"CVE-2022-50485","published":"2025-10-04T15:16:43Z","modified":"2026-05-11T19:20:24Z","title":"ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: add EXT4_IGET_BAD flag to prevent unexpected bad inode\n\nThere are many places that will get unhappy (and crash) when ext4_iget()\nreturns a bad inode. However, if iget the boot loader inode, allows a bad\ninode to be returned, because the inode may not be initialized. This\nmechanism can be used to bypass some checks and cause panic. To solve this\nproblem, we add a special iget flag EXT4_IGET_BAD. Only with this flag\nwe'd be returning bad inode from ext4_iget(), otherwise we always return\nthe error code if the inode is bad inode.(suggested by Jan Kara)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00173,"percentile":0.06742,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2142dfa1de61e25b83198af0308ec7689cca25d3","tags":[]},{"url":"https://git.kernel.org/stable/c/c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5","tags":[]},{"url":"https://git.kernel.org/stable/c/f7e6b5548f915d7aa435d0764d41eacfb49c6e09","tags":[]},{"url":"https://git.kernel.org/stable/c/f725b290ed79ad61e4f721fee95a287892d8b1ad","tags":[]},{"url":"https://git.kernel.org/stable/c/488a5c2bf7543c3cd3f07a025f2e62be91599430","tags":[]},{"url":"https://git.kernel.org/stable/c/63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.35}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 2142dfa1de61e25b83198af0308ec7689cca25d3",">= 393d1d1d76933886d5e1ce603214c9987589c6d5, < c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5",">= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f7e6b5548f915d7aa435d0764d41eacfb49c6e09",">= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f725b290ed79ad61e4f721fee95a287892d8b1ad",">= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 488a5c2bf7543c3cd3f07a025f2e62be91599430",">= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023"]},{"vendor":"Linux","product":"Linux","versions":["3.10"]}],"euvd":{"id":"EUVD-2025-32374","exploited":false,"provenance":"source"}}