In the Linux kernel, the following vulnerability has been resolved: btrfs: fix reservation leak in some error paths when inserting inline extent If we fail to allocate a path or join a transaction, we return from __cowfilerangeinline() without freeing the reserved qgroup data, resulting in a leak. Fix this by ensuring we call btrfsqgroupfreedata() in such cases.