CVE-2022-50546
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's ext4 filesystem implementation was identified as CVE-2022-50546. The issue involves an uninitialized value in the 'ext4evictinode' function, which was discovered by Syzbot. The vulnerability was published on October 7, 2025 (NVD).

Technical details

The vulnerability occurs when 'ext4allocinode()' fails to initialize 'ei->iflags'. If a new inode creation fails before setting 'ei->iflags' in '_ext4newinode()', and then 'iput()' is called, it leads to accessing an uninitialized value in 'ext4evict_inode()'. This issue was introduced after commit 6bc0d63dad7f. The vulnerability affects the ext4 filesystem code in the Linux kernel, specifically in the fs/ext4/inode.c file at line 180 (NVD).

Impact

The vulnerability has been assessed with a CVSS v3.1 Base Score of 5.5, indicating a moderate severity level. The attack requires local access and low privileges to exploit (Red Hat).

Mitigation and workarounds

The fix involves initializing 'ei->iflags' in 'ext4alloc_inode()' to prevent the access to uninitialized values. This solution has been implemented in the Linux kernel (NVD).

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-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

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