In the Linux kernel, the following vulnerability has been resolved: x86/mm, kexec, ima: Use memblockfreelate() from imafreekexecbuffer() The code calling imafreekexecbuffer() runs long after the memblock allocator has already been torn down, potentially resulting in a use after free in memblockisolaterange(). With KASAN or KFENCE, this use after free will result in a BUG from the idle task, and a subsequent kernel panic. Switch imafreekexecbuffer() over to memblockfree_late() to avoid that bug.