{"id":"CVE-2023-54297","summary":"btrfs: zoned: fix memory leak after finding block group with super blocks","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: fix memory leak after finding block group with super blocks\n\nAt exclude_super_stripes(), if we happen to find a block group that has\nsuper blocks mapped to it and we are on a zoned filesystem, we error out\nas this is not supposed to happen, indicating either a bug or maybe some\nmemory corruption for example. However we are exiting the function without\nfreeing the memory allocated for the logical address of the super blocks.\nFix this by freeing the logical address.","modified":"2026-03-31T17:29:56.227919Z","published":"2025-12-30T12:23:33.834Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54297.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/ab80a901f8daca07c4a54af0ab0de745c9918294"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c35ea606196243063e63785918c7c8fe27c45798"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cca627afb463a4b47721eac017516ba200de85c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1a07c2b4e2c473ec322b8b9ece071b8c88a3512"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54297.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54297"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"12659251ca5df05a484eb122c2c34c18d84e797c"},{"fixed":"ab80a901f8daca07c4a54af0ab0de745c9918294"},{"fixed":"c35ea606196243063e63785918c7c8fe27c45798"},{"fixed":"cca627afb463a4b47721eac017516ba200de85c3"},{"fixed":"f1a07c2b4e2c473ec322b8b9ece071b8c88a3512"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54297.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.123"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54297.json"}}],"schema_version":"1.7.5"}