x86/kexec: fix memory leak of elf header buffer
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.18.3 by commit f675e3a9189d84a9324ab45b0cb19906c2bc8fcb. For more details please see the references link.