IB/hfi1: Restore allocated resources on failed copyout
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.168 by commit 79b595d9591426156a9e0635a5b5115508a36fef, it was introduced in version v4.15 by commit f404ca4c7ea8e650ba09ba87c71c7a89c865d5be. For more details please see the references link.