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