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