CVE-2023-54305
Description
In the Linux kernel, the following vulnerability has been resolved:
ext4: refuse to create ea block when umounted
The ea block expansion need to access s_root while it is already set as NULL when umount is triggered. Refuse this request to avoid panic.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
In the Linux kernel's ext4 filesystem, a panic occurs when expanding an extended attribute block during unmount, fixed by refusing the request.
Root
Cause
The vulnerability resides in the ext4 filesystem's extended attribute (ea) block expansion code. During unmount, the s_root pointer in the superblock is set to NULL. However, the ea block expansion routine accesses s_root without a NULL check, leading to a NULL pointer dereference and kernel panic.
Exploitation
Exploitation requires triggering an ea block expansion while the filesystem is in the process of being unmounted. An attacker with local access could cause this condition if a process holds an open file descriptor with extended attributes and the unmount is initiated concurrently, creating a race window. No special privileges beyond local access are needed.
Impact
Successful exploitation results in a denial of service (system crash) due to a kernel panic. There is no evidence of privilege escalation or data corruption.
Mitigation
The fix is to refuse the creation of ea blocks when the filesystem is unmounted. Patches have been applied to the stable kernel tree (references [1], [2], [3]). Users should update to a kernel version containing the fix.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
8aedea161d03121f6a80d9234a92b67e768bd0dc0fa313bb4116008ada3d005cbf6ddd984a458a8c1d1fcf31173c19901Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- git.kernel.org/stable/c/05cbf6ddd9847c7b4f0662c048f195b09405a9d0nvd
- git.kernel.org/stable/c/0dc0fa313bb4e86382a3e7125429710d44383196nvd
- git.kernel.org/stable/c/116008ada3d0de4991099edaf6b8c2e9cd6f225anvd
- git.kernel.org/stable/c/21f6a80d9234422e2eb445734b22c78fc5bf6719nvd
- git.kernel.org/stable/c/a458a8c1d1fc4e10a1813786132b09a3863ad3f2nvd
- git.kernel.org/stable/c/a92b67e768bde433b9385cde56c09deb58db269envd
- git.kernel.org/stable/c/aedea161d031502a423ed1c7597754681a4f8cdanvd
- git.kernel.org/stable/c/f31173c19901a96bb2ebf6bcfec8a08df7095c91nvd
News mentions
0No linked articles in our index yet.