[PATCH 1/3] kexec elf: Sanity check on the note header before accessing it

Simon Horman horms at verge.net.au
Thu Oct 6 19:55:33 PDT 2016


On Fri, Aug 26, 2016 at 12:46:14PM +0000, Sylvain Munaut wrote:
> The name[hdr.n_namesz -1] check below can segfault if the header
> is garbage. So we check the computed header side fits within
> the expected area before going further.
> 
> Signed-off-by: Sylvain Munaut <s.munaut at whatever-company.com>

Thanks, I have applied this and the other two patches in this series.



More information about the kexec mailing list