Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-50006

MEDIUM 4.7EPSS 9%

ext4: fix i_data_sem unlock order in ext4_ind_migrate()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 4192adefc9c570698821c5eb9873320eac2fcbf1; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 3c46d6060d3e38de22196c1fe7706c5a3c696285; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 53b1999cfd2c7addf2e581a32865fe8835467b44; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < ef05572da0c0eb89614ed01cc17d3c882bdbd1ff; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 9fedf51ab8cf7b69bff08f37fe0989fec7f5d870; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d43776b907659affef1de888525847d64b244194; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 6252cb6bde7fc76cb8dcb49d1def7c326b190820; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d58a00e981d3118b91d503da263e640b7cde6729; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < cc749e61c011c255d81b192a822db650c68b313f
  • Anyone running Linux 3.10

Vulnerability facts

Affected
Linux >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 4192adefc9c570698821c5eb9873320eac2fcbf1; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 3c46d6060d3e38de22196c1fe7706c5a3c696285; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 53b1999cfd2c7addf2e581a32865fe8835467b44; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < ef05572da0c0eb89614ed01cc17d3c882bdbd1ff; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 9fedf51ab8cf7b69bff08f37fe0989fec7f5d870; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d43776b907659affef1de888525847d64b244194; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 6252cb6bde7fc76cb8dcb49d1def7c326b190820; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d58a00e981d3118b91d503da263e640b7cde6729; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < cc749e61c011c255d81b192a822db650c68b313f; Linux 3.10
Fixed in
Linux 4192adefc9c570698821c5eb9873320eac2fcbf1, Linux 3c46d6060d3e38de22196c1fe7706c5a3c696285, Linux 53b1999cfd2c7addf2e581a32865fe8835467b44, Linux 9fedf51ab8cf7b69bff08f37fe0989fec7f5d870, Linux 6252cb6bde7fc76cb8dcb49d1def7c326b190820
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-667
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix i_data_sem unlock order in ext4_ind_migrate() Fuzzing reports a possible deadlock in jbd2_log_wait_commit. This issue is triggered when an EXT4_IOC_MIGRATE ioctl is set to require synchronous updates because the file descriptor is opened with O_SYNC. This can lead to the jbd2_journal_stop() function calling jbd2_might_wait_for_commit(), potentially causing a deadlock if the EXT4_IOC_MIGRATE call races with a write(2) system call. This problem only arises when CONFIG_PROVE_LOCKING is enabled. In this case, the jbd2_might_wait_for_commit macro locks jbd2_handle in the jbd2_journal_stop function while i_data_sem is locked. This triggers lockdep because the jbd2_journal_start function might also lock the same jbd2_handle simultaneously. Found by Linux Verification Center (linuxtesting.org) with syzkaller. Rule: add

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 4192adefc9c570698821c5eb9873320eac2fcbf1; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 3c46d6060d3e38de22196c1fe7706c5a3c696285; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 53b1999cfd2c7addf2e581a32865fe8835467b44; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < ef05572da0c0eb89614ed01cc17d3c882bdbd1ff; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 9fedf51ab8cf7b69bff08f37fe0989fec7f5d870; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d43776b907659affef1de888525847d64b244194; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 6252cb6bde7fc76cb8dcb49d1def7c326b190820; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d58a00e981d3118b91d503da263e640b7cde6729; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < cc749e61c011c255d81b192a822db650c68b313f—cvelist
Linux3.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-50006. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50006.md
Affected: Linux >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 4192adefc9c570698821c5eb9873320eac2fcbf1; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 3c46d6060d3e38de22196c1fe7706c5a3c696285; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 53b1999cfd2c7addf2e581a32865fe8835467b44; >= e8238f9a8339b3578c85e41…
Fixed in: Linux 4192adefc9c570698821c5eb9873320eac2fcbf1, Linux 3c46d6060d3e38de22196c1fe7706c5a3c696285, Linux 53b1999cfd2c7addf2e581a32865fe8835467b44, Linux 9fedf51ab8cf7b69bff08f37fe0989fec7f5d870, Linux 6252cb6bde7fc76cb8dcb49d1def7c326b190820

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-50006 being exploited?

There is no confirmed exploitation: CVE-2024-50006 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-50006?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-50006?

Linux >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 4192adefc9c570698821c5eb9873320eac2fcbf1; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 3c46d6060d3e38de22196c1fe7706c5a3c696285; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 53b1999cfd2c7addf2e581a32865fe8835467b44; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < ef05572da0c0eb89614ed01cc17d3c882bdbd1ff; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 9fedf51ab8cf7b69bff08f37fe0989fec7f5d870; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d43776b907659affef1de888525847d64b244194; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < 6252cb6bde7fc76cb8dcb49d1def7c326b190820; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < d58a00e981d3118b91d503da263e640b7cde6729; >= e8238f9a8339b3578c85e4192a7a23bc2bdc0333, < cc749e61c011c255d81b192a822db650c68b313f; Linux 3.10.

Is there a fix for CVE-2024-50006?

Yes. Fixed in Linux 4192adefc9c570698821c5eb9873320eac2fcbf1, Linux 3c46d6060d3e38de22196c1fe7706c5a3c696285, Linux 53b1999cfd2c7addf2e581a32865fe8835467b44, Linux 9fedf51ab8cf7b69bff08f37fe0989fec7f5d870, Linux 6252cb6bde7fc76cb8dcb49d1def7c326b190820. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-50006?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors