CVE-2022-49414
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a race condition vulnerability was discovered between ext4_write and ext4_convert_inline_data functions. The issue was reported by Hulk Robot and involves concurrent access to locks where ext4_convert_inline_data holds the xattr_sem lock while generic_perform_write holds the i_rwsem lock (Kernel Git).

Technical details

The vulnerability manifests as a race condition that can trigger a BUG_ON condition in the kernel. The issue occurs because the lock held by ext4_convert_inline_data (xattr_sem) and the lock held by generic_perform_write (i_rwsem) can be concurrent. This leads to inconsistencies between block bitmap and bg descriptor, specifically showing "25 vs 31513 free clusters" error, and ultimately causes a kernel BUG at fs/ext4/ext4_jbd2.c:53 (Kernel Git).

Impact

When exploited, this vulnerability can cause a kernel panic through the BUG_ON condition, leading to system instability and potential denial of service. The issue affects the ext4 filesystem's handling of inline data conversion and write operations (Kernel Git).

Mitigation and workarounds

The issue has been fixed by adding inode_lock() for ext4_convert_inline_data() and reorganizing the code flow. The fix moves ext4_convert_inline_data() in front of ext4_punch_hole() and removes similar handling from ext4_punch_hole(). This change was implemented in the kernel patch that fixes the race condition (Kernel Git).

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-68764N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug
NoYesJan 05, 2026
CVE-2025-68758N/AN/A
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesJan 05, 2026
CVE-2025-68756N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68753N/AN/A
  • Linux KernelLinux Kernel
  • python3-perf
NoYesJan 05, 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