CVE-2023-54153
Use-After-Free in Linux Kernel ext4 Quota Handling on Mount Failure
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is resolved by ensuring that quotas are turned off if the ext4 mount fails after enabling quotas. Immediate mitigation involves applying the patch that adds a 'failed_mount10' tag and calls ext4_quota_off_umount() to release enabled quotas when mount fails. Therefore, update your Linux kernel to a version that includes this fix.
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's ext4 filesystem code. When enabling quotas during a mount operation, if the function ext4_mark_recovery_complete() returns an error, the error handling does not properly disable the enabled quotas. This leads to a memory leak (kmemleak) because the quotas remain enabled even though the mount failed. The fix involves adding a mechanism to turn off quotas if the mount fails after enabling them.
How can this vulnerability impact me? :
This vulnerability can cause a memory leak in the Linux kernel when mounting ext4 filesystems with quotas enabled. Over time, this could lead to increased memory usage and potentially degrade system performance or stability due to unreleased quota resources.