In the Linux kernel, the following vulnerability has been resolved: arm64: kexec_file: Fix elf_headers memory leak in retry loop A retry allocates new elf headers and overwrites image->elf_headers, leaking the previous buffer. Free it before assigning. [[email protected]: drop the redundant NULL check before vfree()]
https://git.kernel.org/stable/c/f118ee71df3a2d3c54d57cfbe3643a9a29b83128
https://git.kernel.org/stable/c/b784e4391fe79e74f989e997b9a0c2a9c337dbe6
https://git.kernel.org/stable/c/ac302aea3d824ccc99f29b8e499c365cb9a684a9
https://git.kernel.org/stable/c/6bbf156e8ec4468d3b9a3caad891c9ca43a9cab7