CVE-2022-50485
ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
Mitigation
- Upgrade Linux to 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023 or later.
Who should check
- Anyone running Linux >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 2142dfa1de61e25b83198af0308ec7689cca25d3; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f7e6b5548f915d7aa435d0764d41eacfb49c6e09; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f725b290ed79ad61e4f721fee95a287892d8b1ad; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 488a5c2bf7543c3cd3f07a025f2e62be91599430; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023
- Anyone running Linux 3.10
Vulnerability facts
- Affected
- Linux >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 2142dfa1de61e25b83198af0308ec7689cca25d3; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f7e6b5548f915d7aa435d0764d41eacfb49c6e09; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f725b290ed79ad61e4f721fee95a287892d8b1ad; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 488a5c2bf7543c3cd3f07a025f2e62be91599430; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023; Linux 3.10
- Fixed in
- Linux 2142dfa1de61e25b83198af0308ec7689cca25d3, Linux 488a5c2bf7543c3cd3f07a025f2e62be91599430, Linux 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode There are many places that will get unhappy (and crash) when ext4_iget() returns a bad inode. However, if iget the boot loader inode, allows a bad inode to be returned, because the inode may not be initialized. This mechanism can be used to bypass some checks and cause panic. To solve this problem, we add a special iget flag EXT4_IGET_BAD. Only with this flag we'd be returning bad inode from ext4_iget(), otherwise we always return the error code if the inode is bad inode.(suggested by Jan Kara)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 2142dfa1de61e25b83198af0308ec7689cca25d3; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f7e6b5548f915d7aa435d0764d41eacfb49c6e09; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f725b290ed79ad61e4f721fee95a287892d8b1ad; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 488a5c2bf7543c3cd3f07a025f2e62be91599430; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023 | — | cvelist |
| Linux | 3.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50485. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50485.md Affected: Linux >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 2142dfa1de61e25b83198af0308ec7689cca25d3; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f7e6b5548f915d7aa435d0764d41eacfb49c6e09; >= 393d1d1d76933886d5e1ce6… Fixed in: Linux 2142dfa1de61e25b83198af0308ec7689cca25d3, Linux 488a5c2bf7543c3cd3f07a025f2e62be91599430, Linux 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2142dfa1de61e25b83198af0308ec7689cca25d3
- https://git.kernel.org/stable/c/c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5
- https://git.kernel.org/stable/c/f7e6b5548f915d7aa435d0764d41eacfb49c6e09
- https://git.kernel.org/stable/c/f725b290ed79ad61e4f721fee95a287892d8b1ad
- https://git.kernel.org/stable/c/488a5c2bf7543c3cd3f07a025f2e62be91599430
- https://git.kernel.org/stable/c/63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023
FAQ
Is CVE-2022-50485 being exploited?
There is no confirmed exploitation: CVE-2022-50485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50485?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50485?
Linux >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 2142dfa1de61e25b83198af0308ec7689cca25d3; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f7e6b5548f915d7aa435d0764d41eacfb49c6e09; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < f725b290ed79ad61e4f721fee95a287892d8b1ad; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 488a5c2bf7543c3cd3f07a025f2e62be91599430; >= 393d1d1d76933886d5e1ce603214c9987589c6d5, < 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023; Linux 3.10.
Is there a fix for CVE-2022-50485?
Yes. Fixed in Linux 2142dfa1de61e25b83198af0308ec7689cca25d3, Linux 488a5c2bf7543c3cd3f07a025f2e62be91599430, Linux 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023. Upgrade Linux to 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023 or later.
How do I check if I'm affected by CVE-2022-50485?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.