CVE-2023-54311

Source
https://cve.org/CVERecord?id=CVE-2023-54311
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54311.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-54311
Downstream
Related
Published
2025-12-30T12:23:43.174Z
Modified
2026-03-23T05:29:45.096930Z
Summary
ext4: fix deadlock when converting an inline directory in nojournal mode
Details

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, ext4finishconvertinlinedir() can self-deadlock by calling ext4handledirtydirblock() when it already has taken the directory lock. There is a similar self-deadlock in ext4incvertinlinedata_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
Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54311.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3c47d54170b6a678875566b1b8d6dcf57904e49b
Fixed
b4fa4768c9acff77245d672d855d2c88294850b1
Fixed
5f8b55136ad787aed2c184f7cb3e93772ae637a3
Fixed
640c8c365999c6f23447ac766437236ad88317c5
Fixed
665cc3ba50330049524c1d275bc840a8f28dde73
Fixed
0b1c4357bb21d9770451a1bdb8d419ea10bada88
Fixed
804de0c72cd473e186ca4e1f6287d45431b14e5a
Fixed
f4ce24f54d9cca4f09a395f3eecce20d6bec4663

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54311.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.8.0
Fixed
5.4.243
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.180
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.112
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.29
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.16
Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.3.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54311.json"