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.15.94 by commit 9bae58d58b6bb73b572356b31a62d2afc7378d12, it was introduced in version v4.15 by commit f404ca4c7ea8e650ba09ba87c71c7a89c865d5be. For more details please see the references link.