A race condition was discovered in `get old root` in `fs/btrfs/ctree.c`. It allows attackers to cause a denial of service because of a lack of locking on an extent buffer before a cloning operation. This issue is related to errors in synchronization when using a shared resource.