[PATCH 02/17] kexec_file: Remove checks in kexec_purgatory_load

2018-02-12 Thread Philipp Rudo
Before the purgatory is loaded several checks are done whether the ELF file in kexec_purgatory is valid or not. These checks are incomplete. For example they don't check for the total size of the sections defined in the section header table or if the entry point actually points into the purgatory.

[PATCH 02/17] kexec_file: Remove checks in kexec_purgatory_load

2018-02-02 Thread Philipp Rudo
Before the purgatory is loaded several checks are done whether the ELF file in kexec_purgatory is valid or not. These checks are incomplete. For example they don't check for the total size of the sections defined in the section header table or if the entry point actually points into the purgatory.