CVE-2022-50485

ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode

MEDIUM
5.5
CVSS Score
Published: October 4, 2025 at 03:16 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.10 ≤ v < 5.10.1633.10 ≤ v < 5.15.873.10 ≤ v < 5.4.2293.10 ≤ v < 6.0.183.10 ≤ v < 6.1.43.10 ≤ v < 6.25.11 ≤ v < 5.15.875.16 ≤ v < 6.0.185.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.43.10393d1d1d76933886d5e1ce603214c9987589c6d5
Vendor states this is fixed in 2142dfa1de61e25b83198af0308ec7689cca25d3 (fixed)
Vendor states this is fixed in 488a5c2bf7543c3cd3f07a025f2e62be91599430 (fixed)
Vendor states this is fixed in 63b1e9bccb71fe7d7e3ddc9877dbdc85e5d2d023 (fixed)
Vendor states this is fixed in c0a738875c2e9c8c3366d792f8bf7fe508d5e5a5 (fixed)
Vendor states this is fixed in f725b290ed79ad61e4f721fee95a287892d8b1ad (fixed)
Vendor states this is fixed in f7e6b5548f915d7aa435d0764d41eacfb49c6e09 (fixed)
Vendor states this is fixed in 3.10 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.87 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.18 (unaffected)
Vendor states this is fixed in 6.1.4 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card