{"id":"CVE-2022-50485","aliases":["CVE-2022-50485"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","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)","source":"cvelist"}],"published":"2025-10-04T15:16:43.093Z","modified":"2026-06-17T05:23:38.967Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"393d1d1d76933886d5e1ce603214c9987589c6d5","fixed":"2142dfa1de61e25b83198af0308ec7689cca25d3","status":"affected"},{"type":"git","introduced":"393d1d1d76933886d5e1ce603214c9987589c6d5","fixed":"c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5","status":"affected"},{"type":"git","introduced":"393d1d1d76933886d5e1ce603214c9987589c6d5","fixed":"f7e6b5548f915d7aa435d0764d41eacfb49c6e09","status":"affected"},{"type":"git","introduced":"393d1d1d76933886d5e1ce603214c9987589c6d5","fixed":"f725b290ed79ad61e4f721fee95a287892d8b1ad","status":"affected"},{"type":"git","introduced":"393d1d1d76933886d5e1ce603214c9987589c6d5","fixed":"488a5c2bf7543c3cd3f07a025f2e62be91599430","status":"affected"},{"type":"git","introduced":"393d1d1d76933886d5e1ce603214c9987589c6d5","fixed":"63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.10","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.87","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.18","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.4","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.10","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.87"},{"status":"affected","introduced":"5.16","fixed":"6.0.18"},{"status":"affected","introduced":"6.1","fixed":"6.1.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2142dfa1de61e25b83198af0308ec7689cca25d3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7e6b5548f915d7aa435d0764d41eacfb49c6e09","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f725b290ed79ad61e4f721fee95a287892d8b1ad","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/488a5c2bf7543c3cd3f07a025f2e62be91599430","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50485","url":"https://www.cve.org/CVERecord?id=CVE-2022-50485","licence":"CVE Terms of Use","modified":"2026-05-11T19:20:24.290Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50485","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50485","licence":"Public domain","modified":"2026-06-17T05:23:38.967Z"}],"updatedAt":"2026-11-25T22:58:21.238Z","epss":{"score":0.00173,"percentile":0.07097,"date":"2026-12-01T12:00:22.000Z"}}