CVE-2024-50006
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-50006 is a vulnerability in the Linux kernel's ext4 filesystem component, discovered by the Linux Verification Center (linuxtesting.org) using the syzkaller fuzzing tool. The vulnerability was disclosed on October 21, 2024, affecting multiple versions of the Linux kernel up to versions 5.10.227, 5.15.168, 6.1.113, 6.6.55, and others (NVD).

Technical details

The vulnerability is a potential deadlock condition in the jbd2_log_wait_commit function. It occurs when an EXT4_IOC_MIGRATE ioctl is set to require synchronous updates due to a file descriptor being opened with O_SYNC. The issue manifests when CONFIG_PROVE_LOCKING is enabled, where the jbd2_might_wait_for_commit macro locks jbd2_handle in the jbd2_journal_stop function while i_data_sem is locked. This creates a lock ordering violation as detected by lockdep, since jbd2_journal_start might simultaneously lock the same jbd2_handle. The vulnerability has been assigned a CVSS v3.1 base score of 4.7 (Medium) with vector AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a deadlock condition if the EXT4_IOC_MIGRATE call races with a write(2) system call. This occurs specifically when the jbd2_journal_stop() function calls jbd2_might_wait_for_commit() while holding certain locks in an incorrect order (NVD).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions through patches that correct the lock ordering in ext4_ind_migrate(). Multiple Linux distributions have released updates addressing this issue, including Ubuntu which has provided fixes for affected kernel versions (Ubuntu).

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