# CVE-2023-54311: ext4: fix deadlock when converting an inline directory in nojournal mode

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-28)
- **Published:** 2025-12-30T12:23:43.174Z
- **Modified:** 2026-06-17T06:47:12.273Z

## Who should check

- Anyone running Linux \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< b4fa4768c9acff77245d672d855d2c88294850b1; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 5f8b55136ad787aed2c184f7cb3e93772ae637a3; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 640c8c365999c6f23447ac766437236ad88317c5; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 665cc3ba50330049524c1d275bc840a8f28dde73; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 0b1c4357bb21d9770451a1bdb8d419ea10bada88; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 804de0c72cd473e186ca4e1f6287d45431b14e5a; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< f4ce24f54d9cca4f09a395f3eecce20d6bec4663
- Anyone running Linux 3.8

## 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

## Affected and fixed versions

- Linux: \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< b4fa4768c9acff77245d672d855d2c88294850b1; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 5f8b55136ad787aed2c184f7cb3e93772ae637a3; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 640c8c365999c6f23447ac766437236ad88317c5; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 665cc3ba50330049524c1d275bc840a8f28dde73; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 0b1c4357bb21d9770451a1bdb8d419ea10bada88; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 804de0c72cd473e186ca4e1f6287d45431b14e5a; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< f4ce24f54d9cca4f09a395f3eecce20d6bec4663 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54311. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54311.md
Affected: Linux >= 3c47d54170b6a678875566b1b8d6dcf57904e49b, < b4fa4768c9acff77245d672d855d2c88294850b1; >= 3c47d54170b6a678875566b1b8d6dcf57904e49b, < 5f8b55136ad787aed2c184f7cb3e93772ae637a3; >= 3c47d54170b6a678875566b1b8d6dcf57904e49b, < 640c8c365999c6f23447ac766437236ad88317c5; >= 3c47d54170b6a678875566b…
Fixed in: Linux 5f8b55136ad787aed2c184f7cb3e93772ae637a3, Linux 640c8c365999c6f23447ac766437236ad88317c5, Linux 665cc3ba50330049524c1d275bc840a8f28dde73, Linux 0b1c4357bb21d9770451a1bdb8d419ea10bada88, Linux 804de0c72cd473e186ca4e1f6287d45431b14e5a

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.
```

## FAQ

### Is CVE-2023-54311 being exploited?

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

### How serious is CVE-2023-54311?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54311?

Linux \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< b4fa4768c9acff77245d672d855d2c88294850b1; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 5f8b55136ad787aed2c184f7cb3e93772ae637a3; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 640c8c365999c6f23447ac766437236ad88317c5; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 665cc3ba50330049524c1d275bc840a8f28dde73; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 0b1c4357bb21d9770451a1bdb8d419ea10bada88; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< 804de0c72cd473e186ca4e1f6287d45431b14e5a; \>= 3c47d54170b6a678875566b1b8d6dcf57904e49b, \< f4ce24f54d9cca4f09a395f3eecce20d6bec4663; Linux 3.8.

### Is there a fix for CVE-2023-54311?

Yes. Fixed in Linux 5f8b55136ad787aed2c184f7cb3e93772ae637a3, Linux 640c8c365999c6f23447ac766437236ad88317c5, Linux 665cc3ba50330049524c1d275bc840a8f28dde73, Linux 0b1c4357bb21d9770451a1bdb8d419ea10bada88, Linux 804de0c72cd473e186ca4e1f6287d45431b14e5a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54311?

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.

## References

- other: <https://git.kernel.org/stable/c/b4fa4768c9acff77245d672d855d2c88294850b1>
- other: <https://git.kernel.org/stable/c/5f8b55136ad787aed2c184f7cb3e93772ae637a3>
- other: <https://git.kernel.org/stable/c/640c8c365999c6f23447ac766437236ad88317c5>
- other: <https://git.kernel.org/stable/c/665cc3ba50330049524c1d275bc840a8f28dde73>
- other: <https://git.kernel.org/stable/c/0b1c4357bb21d9770451a1bdb8d419ea10bada88>
- other: <https://git.kernel.org/stable/c/804de0c72cd473e186ca4e1f6287d45431b14e5a>
- other: <https://git.kernel.org/stable/c/f4ce24f54d9cca4f09a395f3eecce20d6bec4663>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54311>

HTML: <https://flawdb.com/CVE-2023-54311> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54311>
