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

CVE-2023-54297
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 12659251ca5df05a484eb122c2c34c18d84e797c < ab80a901f8daca07c4a54af0ab0de745c9918294 ; affected 12659251ca5df05a484eb122c2c34c18d84e797c < c35ea606196243063e63785918c7c8fe27c45798 ; affected 12659251ca5df05a484eb122c2c34c18d84e797c < cca627afb463a4b47721eac017516ba200de85c3 ; affected 12659251ca5df05a484eb122c2c34c18d84e797c < f1a07c2b4e2c473ec322b8b9ece071b8c88a3512
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.123 ≤ 5.15.* ; unaffected 6.1.42 ≤ 6.1.* ; unaffected 6.4.7 ≤ 6.4.* ; unaffected 6.5 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD