{"id":"CVE-2023-54311","aliases":["CVE-2023-54311"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: fix deadlock when converting an inline directory in nojournal mode","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix deadlock when converting an inline directory in nojournal mode\n\nIn no journal mode, ext4_finish_convert_inline_dir() can self-deadlock\nby calling ext4_handle_dirty_dirblock() when it already has taken the\ndirectory lock.  There is a similar self-deadlock in\next4_incvert_inline_data_nolock() for data files which we'll fix at\nthe same time.\n\nA simple reproducer demonstrating the problem:\n\n    mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64\n    mount -t ext4 -o dirsync /dev/vdc /vdc\n    cd /vdc\n    mkdir file0\n    cd file0\n    touch file0\n    touch file1\n    attr -s BurnSpaceInEA -V abcde .\n    touch supercalifragilisticexpialidocious","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix deadlock when converting an inline directory in nojournal mode\n\nIn no journal mode, ext4_finish_convert_inline_dir() can self-deadlock\nby calling ext4_handle_dirty_dirblock() when it already has taken the\ndirectory lock.  There is a similar self-deadlock in\next4_incvert_inline_data_nolock() for data files which we'll fix at\nthe same time.\n\nA simple reproducer demonstrating the problem:\n\n    mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64\n    mount -t ext4 -o dirsync /dev/vdc /vdc\n    cd /vdc\n    mkdir file0\n    cd file0\n    touch file0\n    touch file1\n    attr -s BurnSpaceInEA -V abcde .\n    touch supercalifragilisticexpialidocious","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\next4: corregir interbloqueo al convertir un directorio en línea en modo sin diario\n\nEn modo sin diario, ext4_finish_convert_inline_dir() puede auto-interbloquearse al llamar a ext4_handle_dirty_dirblock() cuando ya ha tomado el bloqueo del directorio. Existe un auto-interbloqueo similar en ext4_incvert_inline_data_nolock() para archivos de datos, el cual solucionaremos al mismo tiempo.\n\nUn reproductor simple que demuestra el problema:\n\n    mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64\n    mount -t ext4 -o dirsync /dev/vdc /vdc\n    cd /vdc\n    mkdir file0\n    cd file0\n    touch file0\n    touch file1\n    attr -s BurnSpaceInEA -V abcde .\n    touch supercalifragilisticexpialidocious","source":"nvd"}],"published":"2025-12-30T12:23:43.174Z","modified":"2026-06-17T06:47:12.273Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3c47d54170b6a678875566b1b8d6dcf57904e49b","fixed":"b4fa4768c9acff77245d672d855d2c88294850b1","status":"affected"},{"type":"git","introduced":"3c47d54170b6a678875566b1b8d6dcf57904e49b","fixed":"5f8b55136ad787aed2c184f7cb3e93772ae637a3","status":"affected"},{"type":"git","introduced":"3c47d54170b6a678875566b1b8d6dcf57904e49b","fixed":"640c8c365999c6f23447ac766437236ad88317c5","status":"affected"},{"type":"git","introduced":"3c47d54170b6a678875566b1b8d6dcf57904e49b","fixed":"665cc3ba50330049524c1d275bc840a8f28dde73","status":"affected"},{"type":"git","introduced":"3c47d54170b6a678875566b1b8d6dcf57904e49b","fixed":"0b1c4357bb21d9770451a1bdb8d419ea10bada88","status":"affected"},{"type":"git","introduced":"3c47d54170b6a678875566b1b8d6dcf57904e49b","fixed":"804de0c72cd473e186ca4e1f6287d45431b14e5a","status":"affected"},{"type":"git","introduced":"3c47d54170b6a678875566b1b8d6dcf57904e49b","fixed":"f4ce24f54d9cca4f09a395f3eecce20d6bec4663","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","status":"unaffected"},{"type":"semver","introduced":"5.4.243","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.180","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.112","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.29","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.16","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.3","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b4fa4768c9acff77245d672d855d2c88294850b1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f8b55136ad787aed2c184f7cb3e93772ae637a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/640c8c365999c6f23447ac766437236ad88317c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/665cc3ba50330049524c1d275bc840a8f28dde73","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b1c4357bb21d9770451a1bdb8d419ea10bada88","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/804de0c72cd473e186ca4e1f6287d45431b14e5a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4ce24f54d9cca4f09a395f3eecce20d6bec4663","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54311","url":"https://www.cve.org/CVERecord?id=CVE-2023-54311","licence":"CVE Terms of Use","modified":"2026-05-11T19:59:30.869Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54311","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54311","licence":"Public domain","modified":"2026-06-17T06:47:12.273Z"}],"updatedAt":"2026-11-25T22:58:35.270Z","epss":{"score":0.00215,"percentile":0.12594,"date":"2026-12-01T12:00:22.000Z"}}