Actions
Bug #8973
closedefi_copy_finish() fails to pick the next item from the list
Start date:
2018-01-18
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
The issue was found on vmware/vmware fusion with CD boot, the problem is that boot is hung after loading kernel and printing "Booting..." message on console.
To load kernel and modules, we allocate UEFI memory for each loaded data (because boot archive can be very large, we can not use loader own heap), and we can not control UEFI memory manager, so it can happen that we will get chunks allocated in area we will try to copy data to. When this happens, the loop fails to advance to next item in list and we end up in infinite loop.
Tested with CD boot on vmware fusion where the issue did appear.
Actions