In the Linux kernel, the following vulnerability has been resolved:
xfs: fix ilock leak on error in xfsdqgetnextid
xfsdqgetnextid() takes the quota inode ILOCK before calling xfsireadextents(). If xfsireadextents() fails, the function returns immediately without releasing the lock, leaking the quota inode ILOCK. This can leave the quota inode locked and cause subsequent quota operations to hang.
Fix this by jumping to a common unlock path on error instead of returning directly.