CVE-2022-50485 Details
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)
A vulnerability in the Linux kernel's EXT4 filesystem has been addressed by introducing a new flag, EXT4_IGET_BAD, to manage the handling of bad inodes. Previously, the function ext4_iget() could return a bad inode under certain conditions, such as when accessing the boot loader inode, which might not be properly initialized. This could lead to system crashes by bypassing essential checks. The newly added flag allows for controlled handling of bad inodes, ensuring that they are only returned when explicitly permitted, thus preventing potential system panics.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for updating the kernel can be found in the official Linux documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2142dfa1de61e25b83198af0308ec7689cca25d3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/488a5c2bf7543c3cd3f07a025f2e62be91599430 | kernel.org | Patch |
| https://git.kernel.org/stable/c/63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f725b290ed79ad61e4f721fee95a287892d8b1ad | kernel.org | Patch |
| https://git.kernel.org/stable/c/f7e6b5548f915d7aa435d0764d41eacfb49c6e09 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.10, < 5.4.229 >= 5.5, < 5.10.163 >= 5.11, < 5.15.87 >= 5.16, < 6.0.18 >= 6.1, < 6.1.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 25, 2026 | Modified Analysis | [email protected] |
| Jan 27, 2026 | Initial Analysis | [email protected] |
| Oct 4, 2025 | New CVE Received | kernel.org |