CVE-2023-54297

btrfs: zoned: fix memory leak after finding block group with super blocks

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 12659251ca5df05a484eb122c2c34c18d84e797c to before ab80a901f8daca07c4a54af0ab0de745c9918294Affected
  • 12659251ca5df05a484eb122c2c34c18d84e797c to before c35ea606196243063e63785918c7c8fe27c45798Affected
  • 12659251ca5df05a484eb122c2c34c18d84e797c to before cca627afb463a4b47721eac017516ba200de85c3Affected
  • 12659251ca5df05a484eb122c2c34c18d84e797c to before f1a07c2b4e2c473ec322b8b9ece071b8c88a3512Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.123 through 5.15.*Not affected
  • 6.1.42 through 6.1.*Not affected
  • 6.4.7 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.