What’s Vulnerable › Vulnerabilities
CVE-2023-54297: btrfs: zoned: fix memory leak after finding block group with super blocks
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-30 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix memory leak after finding block group with super blocks At exclude_super_stripes(), if we happen to find a block group that has super blocks mapped to it and we are on a zoned filesystem, we error out as this is not supposed to happen, indicating either a bug or maybe some memory corruption for example. However we are exiting the function without freeing the memory allocated for the logical address of the super blocks. Fix this by freeing the logical address.
Affected products
- Linux kernel: 5.11 — fixed in 6.5
How to fix
Upgrade to a fixed version: Linux kernel 6.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/ab80a901f8daca07c4a54af0ab0de745c9918294
- https://git.kernel.org/stable/c/c35ea606196243063e63785918c7c8fe27c45798
- https://git.kernel.org/stable/c/cca627afb463a4b47721eac017516ba200de85c3
- https://git.kernel.org/stable/c/f1a07c2b4e2c473ec322b8b9ece071b8c88a3512
Get alerted when CVE-2023-54297 or the next vulnerability affects your stack