CVE-2022-50638
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50638 is a Linux kernel vulnerability in the ext4 filesystem subsystem that causes a kernel BUG (panic) in __es_tree_search when processing a malformed or corrupted boot loader inode. The flaw was published on December 9, 2025, and affects the Linux kernel's ext4 extent status tree handling code in fs/ext4/extents_status.c. It is estimated as Medium severity with an EPSS score of 0.033% (Feedly).

Technical details

The root cause is improper validation of extent data associated with a bad boot loader inode in the ext4 filesystem. When ext4_es_cache_extent() is called during a read operation (e.g., via ext4_mpage_readpages), it invokes __es_tree_search, which calls ext4_es_end(). If the inode contains an invalid extent with an end block value of 0xFFFFFFFF, the end-of-extent check triggers a BUG_ON assertion at fs/ext4/extents_status.c:203, causing a kernel panic. The call chain observed is: ext4_mpage_readpages → ext4_map_blocks → ext4_ext_map_blocks → ext4_find_extent → ext4_cache_extents → ext4_es_cache_extent → __es_tree_search → ext4_es_end. This is classified as an improper input validation issue (CWE-20) triggered by a locally mounted or crafted ext4 filesystem image (Feedly).

Impact

Successful triggering of this vulnerability causes a kernel BUG/panic, resulting in a system crash and denial of service. An attacker or unprivileged user with the ability to mount or access a crafted ext4 filesystem image could crash the host kernel, impacting availability. There is no evidence of confidentiality or integrity impact beyond the system crash (Feedly).

Exploitability

No public exploit code or in-the-wild exploitation has been reported for CVE-2022-50638. The EPSS score is approximately 0.033%, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires the ability to mount or cause the kernel to process a specially crafted ext4 filesystem image with a malformed boot loader inode (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have issued fixes via stable tree commits (e.g., 5f8d36abd205, 71e99ec1315f, 78e335fb573e, 991ed014de08, a95ba369255d) that add proper validation of boot loader inode extents before caching them in the extent status tree. Distributions including SUSE have released updated kernel packages addressing this CVE (e.g., SUSE advisories SUSE-2026:0263-1, SUSE-2026:0317-1, SUSE-2026:0411-1). Users should update to a patched kernel version provided by their Linux distribution as soon as possible (Feedly, Linux Security SUSE).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • rv
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management