rtw88: fix memory overrun and memory leak during hw_scan
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.17.2 by commit ec5da191bfcd5fd22b95459b623694f66c1cc10b, it was introduced in version v5.17 by commit 10d162b2ed395e69720926b4f8d87f1f25ca920f. For more details please see the references link.