A double free vulnerability was fixed in the Linux kernel's btrfs zoned code. The flaw occurred when cloning device zone information, where on allocation failure, the error path incorrectly freed bitmaps that were still owned by the original device, leading to potential memory corruption.