CVE-2023-54311

ext4: fix deadlock when converting an inline directory in nojournal mode

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix deadlock when converting an inline directory in nojournal mode

In no journal mode, ext4_finish_convert_inline_dir() can self-deadlock by calling ext4_handle_dirty_dirblock() when it already has taken the directory lock. There is a similar self-deadlock in ext4_incvert_inline_data_nolock() for data files which we'll fix at the same time.

A simple reproducer demonstrating the problem:

mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64 mount -t ext4 -o dirsync /dev/vdc /vdc cd /vdc mkdir file0 cd file0 touch file0 touch file1 attr -s BurnSpaceInEA -V abcde . touch supercalifragilisticexpialidocious

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3c47d54170b6a678875566b1b8d6dcf57904e49b to before b4fa4768c9acff77245d672d855d2c88294850b1Affected
  • 3c47d54170b6a678875566b1b8d6dcf57904e49b to before 5f8b55136ad787aed2c184f7cb3e93772ae637a3Affected
  • 3c47d54170b6a678875566b1b8d6dcf57904e49b to before 640c8c365999c6f23447ac766437236ad88317c5Affected
  • 3c47d54170b6a678875566b1b8d6dcf57904e49b to before 665cc3ba50330049524c1d275bc840a8f28dde73Affected
  • 3c47d54170b6a678875566b1b8d6dcf57904e49b to before 0b1c4357bb21d9770451a1bdb8d419ea10bada88Affected
  • 3c47d54170b6a678875566b1b8d6dcf57904e49b to before 804de0c72cd473e186ca4e1f6287d45431b14e5aAffected
  • 3c47d54170b6a678875566b1b8d6dcf57904e49b to before f4ce24f54d9cca4f09a395f3eecce20d6bec4663Affected
LinuxLinux
  • 3.8Affected
  • before 3.8Not affected
  • 5.4.243 through 5.4.*Not affected
  • 5.10.180 through 5.10.*Not affected
  • 5.15.112 through 5.15.*Not affected
  • 6.1.29 through 6.1.*Not affected
  • 6.2.16 through 6.2.*Not affected
  • 6.3.3 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.