Not scored
btrfs: zoned: fix memory leak after finding block group with super blocks
- Severity
- Not scored
- Exploit likelihood
- 0.22% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 12659251ca5df05a484eb122c2c34c18d84e797c before ab80a901f8daca07c4a54af0ab0de745c9918294, from 12659251ca5df05a484eb122c2c34c18d84e797c before c35ea606196243063e63785918c7c8fe27c45798, from 12659251ca5df05a484eb122c2c34c18d84e797c before cca627afb463a4b47721eac017516ba200de85c3, from 12659251ca5df05a484eb122c2c34c18d84e797c before f1a07c2b4e2c473ec322b8b9ece071b8c88a3512, 5.11 Not affected: before 5.11, from 5.15.123 up to 5.15.*, from 6.1.42 up to 6.1.*, from 6.4.7 up to 6.4.*, from 6.5 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: btrfs: con zonas: corregir fuga de memoria después de encontrar grupo de bloques con superbloques En exclude_super_stripes(), si encontramos un grupo de bloques que tiene superbloques mapeados y estamos en un sistema de archivos con zonas, salimos con error ya que esto no debería ocurrir, indicando un error o quizás alguna corrupción de memoria, por ejemplo. Sin embargo, estamos saliendo de la función sin liberar la memoria asignada para la dirección lógica de los superbloques. Corregir esto liberando la dirección lógica.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-54297 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-54297 changed 2026-06-17 | Public domain |