CVE-2024-55641
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-55641 affects the Linux kernel's XFS filesystem implementation. The vulnerability was discovered and disclosed in January 2024, specifically related to a failure to unlock inodes when encountering errors during directory transaction allocation. This issue affects the XFS filesystem component in the Linux kernel, particularly the xfs_trans_alloc_dir function (Kernel Git).

Technical details

The vulnerability occurs when a link() call attempts to set up a transaction to link a child into a directory. If quota reservation for the transaction fails after I/O errors shut down the filesystem, the code path fails to unlock the inodes before exiting. This leads to a system hang during unmount operations as it tries to lock inodes for purging. The issue manifests through metadata I/O errors and quota-related corruption notices, ultimately resulting in filesystem shutdown (NVD, Kernel Git).

Impact

When triggered, this vulnerability causes the system to become stuck during filesystem unmount operations, effectively creating a denial of service condition. The system cannot properly unmount the affected XFS filesystem, requiring administrative intervention to resolve the issue (NVD).

Mitigation and workarounds

The issue has been resolved through a patch that adds proper inode unlocking when errors occur during directory transaction allocation. The fix involves adding explicit unlock operations for the affected inodes in the error path of xfstransalloc_dir (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management