CVE-2023-54158
Memory Leak in Linux Kernel btrfs Qgroup Reservation Handling
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?
To mitigate this vulnerability, update the Linux kernel to a version where the btrfs qgroup space leak issue has been fixed. The fix involves ensuring that qgroup reservations are not freed improperly during subvolume creation. Applying the latest kernel patches or updates that address this specific btrfs issue will prevent the reserved space leak.
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's btrfs filesystem involves improper handling of quota group (qgroup) space reservations during subvolume creation. Specifically, an optimization in the delayed inode code incorrectly frees qgroup reserved space when it shouldn't, due to how temporary block reservations are managed. This leads to a leak of reserved space because the qgroup reservations are freed prematurely and not properly accounted for, causing reserved metadata space to be lost.
How can this vulnerability impact me? :
The vulnerability can cause a leak of reserved quota group space in the btrfs filesystem during subvolume creation. This means that disk space reserved for quota management may be lost or not properly tracked, potentially leading to inaccurate quota enforcement and inefficient disk space usage.