{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50485","id":"CVE-2022-50485","title":"ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode","description":"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","descriptionLong":"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)","published":"2025-10-04T15:16:43.093Z","updated":"2026-10-28T02:31:03.699620238Z","reserved":"2025-10-04T15:13:33.468Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"393d1d1d76933886d5e1ce603214c9987589c6d5","lessThan":"2142dfa1de61e25b83198af0308ec7689cca25d3","status":"affected","versionType":"git"},{"version":"393d1d1d76933886d5e1ce603214c9987589c6d5","lessThan":"c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5","status":"affected","versionType":"git"},{"version":"393d1d1d76933886d5e1ce603214c9987589c6d5","lessThan":"f7e6b5548f915d7aa435d0764d41eacfb49c6e09","status":"affected","versionType":"git"},{"version":"393d1d1d76933886d5e1ce603214c9987589c6d5","lessThan":"f725b290ed79ad61e4f721fee95a287892d8b1ad","status":"affected","versionType":"git"},{"version":"393d1d1d76933886d5e1ce603214c9987589c6d5","lessThan":"488a5c2bf7543c3cd3f07a025f2e62be91599430","status":"affected","versionType":"git"},{"version":"393d1d1d76933886d5e1ce603214c9987589c6d5","lessThan":"63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.10","status":"affected"},{"version":"0","lessThan":"3.10","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.87","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.18","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.4","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2142dfa1de61e25b83198af0308ec7689cca25d3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f7e6b5548f915d7aa435d0764d41eacfb49c6e09","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f725b290ed79ad61e4f721fee95a287892d8b1ad","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/488a5c2bf7543c3cd3f07a025f2e62be91599430","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50485.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50485","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00173,"epssPercentile":0.06927,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50485","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50485","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50485","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50485","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}